From: kbuild test robot <lkp@intel.com>
To: "Yin, Fengwei" <fengwei.yin@linaro.org>
Cc: kbuild-all@01.org, andy.green@linaro.org,
linux-wireless@vger.kernel.org, wcn36xx@lists.infradead.org,
me@bobcopeland.com, k.eugene.e@gmail.com,
bjorn.andersson@sonymobile.com, fengwei.yin@linaro.org
Subject: Re: [PATCH 3/5] wcn36xx: handle new hal response format
Date: Mon, 9 Nov 2015 18:22:52 +0800 [thread overview]
Message-ID: <201511091809.c0vQX1oT%fengguang.wu@intel.com> (raw)
In-Reply-To: <1447063362-27322-4-git-send-email-fengwei.yin@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 3304 bytes --]
Hi Andy,
[auto build test WARNING on wireless-drivers-next/master]
[also build test WARNING on v4.3 next-20151109]
url: https://github.com/0day-ci/linux/commits/Yin-Fengwei/wcn36xx-add-some-new-firmware-functionalities-support/20151109-170444
base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master
config: x86_64-randconfig-s4-11091756 (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 include/linux/linkage.h:4:0,
from include/linux/kernel.h:6,
from include/linux/skbuff.h:17,
from include/linux/if_ether.h:23,
from include/linux/etherdevice.h:25,
from drivers/net/wireless/ath/wcn36xx/smd.c:19:
drivers/net/wireless/ath/wcn36xx/smd.c: In function 'wcn36xx_smd_rsp_status_check_v2':
drivers/net/wireless/ath/wcn36xx/smd.c:310:27: error: 'WCN36XX_CHIP_3620' undeclared (first use in this function)
if (wcn->chip_version != WCN36XX_CHIP_3620 ||
^
include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
>> drivers/net/wireless/ath/wcn36xx/smd.c:310:2: note: in expansion of macro 'if'
if (wcn->chip_version != WCN36XX_CHIP_3620 ||
^
drivers/net/wireless/ath/wcn36xx/smd.c:310:27: note: each undeclared identifier is reported only once for each function it appears in
if (wcn->chip_version != WCN36XX_CHIP_3620 ||
^
include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
>> drivers/net/wireless/ath/wcn36xx/smd.c:310:2: note: in expansion of macro 'if'
if (wcn->chip_version != WCN36XX_CHIP_3620 ||
^
drivers/net/wireless/ath/wcn36xx/smd.c: At top level:
drivers/net/wireless/ath/wcn36xx/smd.c:305:12: warning: 'wcn36xx_smd_rsp_status_check_v2' defined but not used [-Wunused-function]
static int wcn36xx_smd_rsp_status_check_v2(struct wcn36xx *wcn, void *buf,
^
vim +/if +310 drivers/net/wireless/ath/wcn36xx/smd.c
294 return -EIO;
295
296 rsp = (struct wcn36xx_fw_msg_status_rsp *)
297 (buf + sizeof(struct wcn36xx_hal_msg_header));
298
299 if (WCN36XX_FW_MSG_RESULT_SUCCESS != rsp->status)
300 return rsp->status;
301
302 return 0;
303 }
304
305 static int wcn36xx_smd_rsp_status_check_v2(struct wcn36xx *wcn, void *buf,
306 size_t len)
307 {
308 struct wcn36xx_fw_msg_status_rsp_v2 *rsp;
309
> 310 if (wcn->chip_version != WCN36XX_CHIP_3620 ||
311 len < sizeof(struct wcn36xx_hal_msg_header) + sizeof(*rsp))
312 return wcn36xx_smd_rsp_status_check(buf, len);
313
314 rsp = buf + sizeof(struct wcn36xx_hal_msg_header);
315
316 if (WCN36XX_FW_MSG_RESULT_SUCCESS != rsp->status)
317 return rsp->status;
318
---
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: 25396 bytes --]
next prev parent reply other threads:[~2015-11-09 10:21 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-09 10:02 [PATCH 0/5] wcn36xx: add some new firmware functionalities support Yin, Fengwei
2015-11-09 10:02 ` [PATCH 1/5] wcn36xx: introduce WCN36XX_HAL_AVOID_FREQ_RANGE_IND Yin, Fengwei
2015-11-09 15:37 ` Bob Copeland
2015-11-09 10:02 ` [PATCH 2/5] wcn36xx: swallow two wcn3620 IND messages Yin, Fengwei
2015-11-09 15:38 ` Bob Copeland
2015-11-09 10:02 ` [PATCH 3/5] wcn36xx: handle new hal response format Yin, Fengwei
2015-11-09 9:25 ` kbuild test robot
2015-11-09 9:29 ` fengwei.yin
2015-11-09 10:22 ` kbuild test robot [this message]
2015-11-09 15:43 ` Bob Copeland
2015-11-09 10:02 ` [PATCH 4/5] wcn3620: use new response format for wcn3620 trigger_ba Yin, Fengwei
2015-11-09 15:40 ` Bob Copeland
2015-11-10 7:08 ` fengwei.yin
2015-11-10 14:13 ` Bob Copeland
2015-11-11 0:37 ` fengwei.yin
2015-11-19 3:20 ` yfw
2015-11-19 17:41 ` Bob Copeland
2015-11-20 1:40 ` fengwei.yin
2015-11-20 1:52 ` Bob Copeland
2015-11-20 2:11 ` fengwei.yin
2015-11-12 4:50 ` Bjorn Andersson
2015-11-12 6:37 ` fengwei.yin
2015-11-22 20:13 ` Eugene Krasnikov
2015-11-09 10:02 ` [PATCH 5/5] wcn3620: use new response format for wcn3620 remove_bsskey Yin, Fengwei
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=201511091809.c0vQX1oT%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=andy.green@linaro.org \
--cc=bjorn.andersson@sonymobile.com \
--cc=fengwei.yin@linaro.org \
--cc=k.eugene.e@gmail.com \
--cc=kbuild-all@01.org \
--cc=linux-wireless@vger.kernel.org \
--cc=me@bobcopeland.com \
--cc=wcn36xx@lists.infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.