Hi Peter, [auto build test WARNING on net-next/master] [also build test WARNING on v4.4-rc2 next-20151124] url: https://github.com/0day-ci/linux/commits/Peter-Oh/ath10k-introduce-Mesh-support-in-native-WiFi-mode-for-QCA988X/20151125-014059 config: x86_64-randconfig-s5-11250138 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): In file included from drivers/net/wireless/ath/ath10k/core.h:32:0, from drivers/net/wireless/ath/ath10k/mac.h:22, from drivers/net/wireless/ath/ath10k/mac.c:18: drivers/net/wireless/ath/ath10k/wmi.h: In function 'wmi_10x_svc_map': drivers/net/wireless/ath/ath10k/wmi.h:457:9: error: 'WMI_SERVICE_MESH' undeclared (first use in this function) WMI_SERVICE_MESH, len); ^ drivers/net/wireless/ath/ath10k/wmi.h:398:14: note: in definition of macro 'SVCMAP' __set_bit(y, out); \ ^ drivers/net/wireless/ath/ath10k/wmi.h:457:9: note: each undeclared identifier is reported only once for each function it appears in WMI_SERVICE_MESH, len); ^ drivers/net/wireless/ath/ath10k/wmi.h:398:14: note: in definition of macro 'SVCMAP' __set_bit(y, out); \ ^ drivers/net/wireless/ath/ath10k/wmi.h:459:9: error: 'WMI_SERVICE_EXT_RES_CFG_SUPPORT' undeclared (first use in this function) WMI_SERVICE_EXT_RES_CFG_SUPPORT, len); ^ drivers/net/wireless/ath/ath10k/wmi.h:398:14: note: in definition of macro 'SVCMAP' __set_bit(y, out); \ ^ In file included from include/asm-generic/bug.h:4:0, from arch/x86/include/asm/bug.h:35, from include/linux/bug.h:4, from include/net/mac80211.h:18, from drivers/net/wireless/ath/ath10k/mac.h:21, from drivers/net/wireless/ath/ath10k/mac.c:18: drivers/net/wireless/ath/ath10k/mac.c: In function 'ath10k_add_interface': drivers/net/wireless/ath/ath10k/mac.c:4353:16: error: 'WMI_SERVICE_MESH' undeclared (first use in this function) if (test_bit(WMI_SERVICE_MESH, ar->wmi.svc_map)) { ^ include/linux/compiler.h:147:28: note: in definition of macro '__trace_if' if (__builtin_constant_p((cond)) ? !!(cond) : \ ^ >> drivers/net/wireless/ath/ath10k/mac.c:4353:3: note: in expansion of macro 'if' if (test_bit(WMI_SERVICE_MESH, ar->wmi.svc_map)) { ^ >> drivers/net/wireless/ath/ath10k/mac.c:4353:7: note: in expansion of macro 'test_bit' if (test_bit(WMI_SERVICE_MESH, ar->wmi.svc_map)) { ^ vim +/if +4353 drivers/net/wireless/ath/ath10k/mac.c 4337 4338 switch (vif->type) { 4339 case NL80211_IFTYPE_P2P_DEVICE: 4340 arvif->vdev_type = WMI_VDEV_TYPE_STA; 4341 arvif->vdev_subtype = WMI_VDEV_SUBTYPE_P2P_DEVICE; 4342 break; 4343 case NL80211_IFTYPE_UNSPECIFIED: 4344 case NL80211_IFTYPE_STATION: 4345 arvif->vdev_type = WMI_VDEV_TYPE_STA; 4346 if (vif->p2p) 4347 arvif->vdev_subtype = WMI_VDEV_SUBTYPE_P2P_CLIENT; 4348 break; 4349 case NL80211_IFTYPE_ADHOC: 4350 arvif->vdev_type = WMI_VDEV_TYPE_IBSS; 4351 break; 4352 case NL80211_IFTYPE_MESH_POINT: > 4353 if (test_bit(WMI_SERVICE_MESH, ar->wmi.svc_map)) { 4354 arvif->vdev_subtype = WMI_VDEV_SUBTYPE_MESH; 4355 } else if (!test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags)) { 4356 ret = -EINVAL; 4357 ath10k_warn(ar, "must load driver with rawmode=1 to add mesh interfaces\n"); 4358 goto err; 4359 } 4360 arvif->vdev_type = WMI_VDEV_TYPE_AP; 4361 break; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data