* Re: [PATCH] staging: esp8089: add new driver
[not found] <BLU436-SMTP46405BB440DB05229192A1BC290@phx.gbl>
@ 2016-06-19 11:18 ` kbuild test robot
2016-06-19 12:06 ` kbuild test robot
2016-06-19 13:19 ` kbuild test robot
2 siblings, 0 replies; 3+ messages in thread
From: kbuild test robot @ 2016-06-19 11:18 UTC (permalink / raw)
To: Icenowy Zheng; +Cc: kbuild-all, gregkh, devel, Icenowy Zheng, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1931 bytes --]
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 #2: .config.gz --]
[-- Type: application/octet-stream, Size: 54784 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] staging: esp8089: add new driver
[not found] <BLU436-SMTP46405BB440DB05229192A1BC290@phx.gbl>
2016-06-19 11:18 ` [PATCH] staging: esp8089: add new driver kbuild test robot
@ 2016-06-19 12:06 ` kbuild test robot
2016-06-19 13:19 ` kbuild test robot
2 siblings, 0 replies; 3+ messages in thread
From: kbuild test robot @ 2016-06-19 12:06 UTC (permalink / raw)
To: Icenowy Zheng; +Cc: kbuild-all, gregkh, devel, Icenowy Zheng, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 3214 bytes --]
Hi,
[auto build test WARNING on staging/staging-testing]
[also build test WARNING 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: i386-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=i386
All warnings (new ones prefixed by >>):
In file included from arch/x86/include/asm/string.h:2:0,
from include/linux/string.h:18,
from arch/x86/include/asm/page_32.h:34,
from arch/x86/include/asm/page.h:13,
from arch/x86/include/asm/thread_info.h:11,
from include/linux/thread_info.h:54,
from arch/x86/include/asm/preempt.h:6,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/mm_types.h:8,
from include/linux/kmemcheck.h:4,
from include/linux/skbuff.h:18,
from include/linux/if_ether.h:23,
from include/linux/etherdevice.h:25,
from drivers/staging/esp8089/esp_mac80211.c:7:
drivers/staging/esp8089/esp_mac80211.c: In function 'beacon_tim_init':
>> arch/x86/include/asm/string_32.h:325:29: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args]
#define memset(s, c, count) __builtin_memset(s, c, count)
^
>> drivers/staging/esp8089/esp_mac80211.c:325:2: note: in expansion of macro 'memset'
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 +/memset +325 drivers/staging/esp8089/esp_mac80211.c
309 }
310 epub->vif = NULL;
311 evif->epub = NULL;
312
313 sip_cmd(epub, SIP_CMD_SETVIF, (u8 *) & svif,
314 sizeof(struct sip_cmd_setvif));
315
316 /* clean up tx/rx queue */
317
318 }
319
320 #define BEACON_TIM_SAVE_MAX 20
321 u8 beacon_tim_saved[BEACON_TIM_SAVE_MAX];
322 int beacon_tim_count;
323 static void beacon_tim_init(void)
324 {
> 325 memset(beacon_tim_saved, BEACON_TIM_SAVE_MAX, 0);
326 beacon_tim_count = 0;
327 }
328
329 static u8 beacon_tim_save(u8 this_tim)
330 {
331 u8 all_tim = 0;
332 int i;
333 beacon_tim_saved[beacon_tim_count] = this_tim;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 55069 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] staging: esp8089: add new driver
[not found] <BLU436-SMTP46405BB440DB05229192A1BC290@phx.gbl>
2016-06-19 11:18 ` [PATCH] staging: esp8089: add new driver kbuild test robot
2016-06-19 12:06 ` kbuild test robot
@ 2016-06-19 13:19 ` kbuild test robot
2 siblings, 0 replies; 3+ messages in thread
From: kbuild test robot @ 2016-06-19 13:19 UTC (permalink / raw)
To: Icenowy Zheng; +Cc: kbuild-all, gregkh, devel, Icenowy Zheng, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2216 bytes --]
Hi,
[auto build test WARNING on staging/staging-testing]
[also build test WARNING 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: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=m68k
All warnings (new ones prefixed by >>):
>> drivers/staging/esp8089/esp_mac80211.c:1377:2: warning: initialization from incompatible pointer type
.ampdu_action = esp_op_ampdu_action,
^
drivers/staging/esp8089/esp_mac80211.c:1377:2: warning: (near initialization for 'esp_mac80211_ops.ampdu_action')
vim +1377 drivers/staging/esp8089/esp_mac80211.c
1361 .update_tkip_key = esp_op_update_tkip_key,
1362 //.sched_scan_start = esp_op_sched_scan_start,
1363 //.sched_scan_stop = esp_op_sched_scan_stop,
1364 .set_rts_threshold = esp_op_set_rts_threshold,
1365 .sta_notify = esp_op_sta_notify,
1366 .conf_tx = esp_op_conf_tx,
1367 .change_interface = esp_op_change_interface,
1368 .get_tsf = esp_op_get_tsf,
1369 .set_tsf = esp_op_set_tsf,
1370 .reset_tsf = esp_op_reset_tsf,
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,
1381 #ifdef CONFIG_NL80211_TESTMODE
1382 //CFG80211_TESTMODE_CMD(esp_op_tm_cmd)
1383 #endif
1384 .set_bitrate_mask = esp_op_set_bitrate_mask,
1385 .flush = esp_op_flush,
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 37228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread