Re: [PATCH] staging: esp8089: add new driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.7-rc3 next-20160617]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Icenowy-Zheng/staging-esp8089-add-new-driver/20160619-182134
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   drivers/staging/esp8089/esp_mac80211.c: In function 'beacon_tim_init':
>> drivers/staging/esp8089/esp_mac80211.c:325:2: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args]
     memset(beacon_tim_saved, BEACON_TIM_SAVE_MAX, 0);
     ^~~~~~
   drivers/staging/esp8089/esp_mac80211.c: At top level:
>> drivers/staging/esp8089/esp_mac80211.c:1377:18: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .ampdu_action = esp_op_ampdu_action,
                     ^~~~~~~~~~~~~~~~~~~
   drivers/staging/esp8089/esp_mac80211.c:1377:18: note: (near initialization for 'esp_mac80211_ops.ampdu_action')
   cc1: some warnings being treated as errors

vim +1377 drivers/staging/esp8089/esp_mac80211.c

  1371		.rfkill_poll = esp_op_rfkill_poll,
  1372	#ifdef HW_SCAN
  1373		.hw_scan = esp_op_hw_scan,
  1374		.remain_on_channel = esp_op_remain_on_channel,
  1375		.cancel_remain_on_channel = esp_op_cancel_remain_on_channel,
  1376	#endif
> 1377		.ampdu_action = esp_op_ampdu_action,
  1378		//.get_survey = esp_op_get_survey,
  1379		.sta_add = esp_op_sta_add,
  1380		.sta_remove = esp_op_sta_remove,

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux