CC drivers/net/wireless/ti/wlcore/main.o In file included from ./include/linux/module.h:9, from drivers/net/wireless/ti/wlcore/main.c:23: drivers/net/wireless/ti/wlcore/main.c: In function ewlcore_fw_statusf: drivers/net/wireless/ti/wlcore/main.c:422:32: error: ewlvifStaf undeclared (first use in this function); did you mean ewlviff? wl12xx_for_each_wlvif_sta(wl, wlvifSta) { ^~~~~~~~ ./include/linux/list.h:450:7: note: in definition of macro elist_for_each_entryf for (pos = list_first_entry(head, typeof(*pos), member); \ ^~~ drivers/net/wireless/ti/wlcore/wlcore_i.h:533:3: note: in expansion of macro ewl12xx_for_each_wlviff wl12xx_for_each_wlvif(wl, wlvif) \ ^~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/ti/wlcore/wlcore_i.h:537:3: note: in expansion of macro ewl12xx_for_each_wlvif_bss_typef wl12xx_for_each_wlvif_bss_type(wl, wlvif, BSS_TYPE_STA_BSS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/ti/wlcore/main.c:422:2: note: in expansion of macro ewl12xx_for_each_wlvif_staf wl12xx_for_each_wlvif_sta(wl, wlvifSta) { ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/ti/wlcore/main.c:422:32: note: each undeclared identifier is reported only once for each function it appears in wl12xx_for_each_wlvif_sta(wl, wlvifSta) { ^~~~~~~~ ./include/linux/list.h:450:7: note: in definition of macro elist_for_each_entryf for (pos = list_first_entry(head, typeof(*pos), member); \ ^~~ drivers/net/wireless/ti/wlcore/wlcore_i.h:533:3: note: in expansion of macro ewl12xx_for_each_wlviff wl12xx_for_each_wlvif(wl, wlvif) \ ^~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/ti/wlcore/wlcore_i.h:537:3: note: in expansion of macro ewl12xx_for_each_wlvif_bss_typef wl12xx_for_each_wlvif_bss_type(wl, wlvif, BSS_TYPE_STA_BSS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/ti/wlcore/main.c:422:2: note: in expansion of macro ewl12xx_for_each_wlvif_staf wl12xx_for_each_wlvif_sta(wl, wlvifSta) { ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/list.h:8, from ./include/linux/module.h:9, from drivers/net/wireless/ti/wlcore/main.c:23: ./include/linux/kernel.h:837:48: error: initialization of econst int *f from incompatible pointer type estruct list_head *f [-Werror=incompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^ ./include/linux/list.h:352:2: note: in expansion of macro econtainer_off container_of(ptr, type, member) ^~~~~~~~~~~~ ./include/linux/list.h:363:2: note: in expansion of macro elist_entryf list_entry((ptr)->next, type, member) ^~~~~~~~~~ ./include/linux/list.h:450:13: note: in expansion of macro elist_first_entryf for (pos = list_first_entry(head, typeof(*pos), member); \ ^~~~~~~~~~~~~~~~ drivers/net/wireless/ti/wlcore/wlcore_i.h:527:3: note: in expansion of macro elist_for_each_entryf list_for_each_entry(wlvif, &wl->wlvif_list, list) ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/ti/wlcore/wlcore_i.h:533:3: note: in expansion of macro ewl12xx_for_each_wlviff wl12xx_for_each_wlvif(wl, wlvif) \ ^~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/ti/wlcore/wlcore_i.h:537:3: note: in expansion of macro ewl12xx_for_each_wlvif_bss_typef wl12xx_for_each_wlvif_bss_type(wl, wlvif, BSS_TYPE_STA_BSS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/ti/wlcore/main.c:422:2: note: in expansion of macro ewl12xx_for_each_wlvif_staf wl12xx_for_each_wlvif_sta(wl, wlvifSta) { ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/ti/wlcore/main.c:424:4: error: eisStaf undeclared (first use in this function) isSta = true; ^~~~~ In file included from ./include/linux/module.h:9, from drivers/net/wireless/ti/wlcore/main.c:23: drivers/net/wireless/ti/wlcore/main.c:429:28: error: ewlvifApf undeclared (first use in this function); did you mean ewlviff? wl12xx_for_each_wlvif(wl, wlvifAp) { ^~~~~~~ ./include/linux/list.h:450:7: note: in definition of macro elist_for_each_entryf for (pos = list_first_entry(head, typeof(*pos), member); \ ^~~ drivers/net/wireless/ti/wlcore/main.c:429:2: note: in expansion of macro ewl12xx_for_each_wlviff wl12xx_for_each_wlvif(wl, wlvifAp) { ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/list.h:8, from ./include/linux/module.h:9, from drivers/net/wireless/ti/wlcore/main.c:23: ./include/linux/kernel.h:837:48: error: initialization of econst int *f from incompatible pointer type estruct list_head *f [-Werror=incompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^ ./include/linux/list.h:352:2: note: in expansion of macro econtainer_off container_of(ptr, type, member) ^~~~~~~~~~~~ ./include/linux/list.h:363:2: note: in expansion of macro elist_entryf list_entry((ptr)->next, type, member) ^~~~~~~~~~ ./include/linux/list.h:450:13: note: in expansion of macro elist_first_entryf for (pos = list_first_entry(head, typeof(*pos), member); \ ^~~~~~~~~~~~~~~~ drivers/net/wireless/ti/wlcore/wlcore_i.h:527:3: note: in expansion of macro elist_for_each_entryf list_for_each_entry(wlvif, &wl->wlvif_list, list) ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/ti/wlcore/main.c:429:2: note: in expansion of macro ewl12xx_for_each_wlviff wl12xx_for_each_wlvif(wl, wlvifAp) { ^~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/ti/wlcore/main.c:431:4: error: eisApf undeclared (first use in this function); did you mean eisbf? isAp = true; ^~~~ isb cc1: some warnings being treated as errors make[5]: *** [scripts/Makefile.build:297: drivers/net/wireless/ti/wlcore/main.o] ƒGƒ‰[ 1 make[4]: *** [scripts/Makefile.build:547: drivers/net/wireless/ti/wlcore] ƒGƒ‰[ 2 make[3]: *** [scripts/Makefile.build:547: drivers/net/wireless/ti] ƒGƒ‰[ 2 make[2]: *** [scripts/Makefile.build:547: drivers/net/wireless] ƒGƒ‰[ 2 make[1]: *** [scripts/Makefile.build:547: drivers/net] ƒGƒ‰[ 2