From: kbuild test robot <lkp@intel.com>
To: Peter Oh <poh@qca.qualcomm.com>
Cc: kbuild-all@01.org, ath10k@lists.infradead.org,
linux-wireless@vger.kernel.org
Subject: Re: [PATCH 3/3] ath10k: apply Mesh subtype when Mesh interface created.
Date: Wed, 25 Nov 2015 02:20:01 +0800 [thread overview]
Message-ID: <201511250254.f66NW2Vz%fengguang.wu@intel.com> (raw)
In-Reply-To: <1448386655-13936-4-git-send-email-poh@qca.qualcomm.com>
[-- Attachment #1: Type: text/plain, Size: 3921 bytes --]
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 #2: .config.gz --]
[-- Type: application/octet-stream, Size: 24244 bytes --]
next prev parent reply other threads:[~2015-11-24 18:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-24 17:37 [PATCH 0/3] ath10k: introduce Mesh support in native WiFi mode for QCA988X Peter Oh
2015-11-24 17:37 ` [PATCH 1/3] ath10k: update WMI 10.x service map Peter Oh
2015-11-24 18:08 ` kbuild test robot
2015-11-24 21:19 ` kbuild test robot
2015-11-25 1:22 ` Peter Oh
2015-11-25 10:59 ` Kalle Valo
2015-11-24 17:37 ` [PATCH 2/3] ath10k: introduce new subtypes for proxy STA and Mesh Peter Oh
2015-11-24 17:37 ` [PATCH 3/3] ath10k: apply Mesh subtype when Mesh interface created Peter Oh
2015-11-24 18:00 ` kbuild test robot
2015-11-24 18:20 ` kbuild test robot [this message]
2015-11-30 15:07 ` [PATCH 0/3] ath10k: introduce Mesh support in native WiFi mode for QCA988X Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201511250254.f66NW2Vz%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=ath10k@lists.infradead.org \
--cc=kbuild-all@01.org \
--cc=linux-wireless@vger.kernel.org \
--cc=poh@qca.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).