[PATCH 3/3] ath10k: apply Mesh subtype when Mesh interface created.

kbuild test robot lkp at intel.com
Tue Nov 24 10:00:53 PST 2015


Hi Peter,

[auto build test ERROR on net-next/master]
[also build test ERROR 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-x006-11230704 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (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/linux/bitops.h:36:0,
                    from include/linux/kernel.h:10,
                    from include/asm-generic/bug.h:13,
                    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)) {
                   ^
   arch/x86/include/asm/bitops.h:336:25: note: in definition of macro 'test_bit'
     (__builtin_constant_p((nr))  \
                            ^

vim +/WMI_SERVICE_MESH +4353 drivers/net/wireless/ath/ath10k/mac.c

  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;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 25291 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20151125/bd4fc7e4/attachment-0001.obj>


More information about the ath10k mailing list