From: kbuild test robot <lkp@intel.com>
To: Waldemar Rymarkiewicz <ext.waldemar.rymarkiewicz@tieto.com>
Cc: kbuild-all@01.org, kvalo@qca.qualcomm.com,
ath10k@lists.infradead.org, bartosz.markowski@tieto.com,
rwchang@qti.qualcomm.com, alanliu@qca.qualcomm.com,
linux-wireless@vger.kernel.org,
Waldemar Rymarkiewicz <ext.waldemar.rymarkiewicz@tieto.com>
Subject: Re: [PATCH] ath10k: Search SMBIOS for OEM board file extension
Date: Sun, 15 Jan 2017 02:09:02 +0800 [thread overview]
Message-ID: <201701150241.yCa5lXiT%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170113111022.5570-1-ext.waldemar.rymarkiewicz@tieto.com>
[-- Attachment #1: Type: text/plain, Size: 2182 bytes --]
Hi Waldemar,
[auto build test WARNING on ath6kl/ath-next]
[also build test WARNING on v4.10-rc3 next-20170113]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Waldemar-Rymarkiewicz/ath10k-Search-SMBIOS-for-OEM-board-file-extension/20170115-005232
base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath-next
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa
All warnings (new ones prefixed by >>):
drivers/net/wireless/ath/ath10k/core.c: In function 'ath10k_core_check_bdfext':
>> drivers/net/wireless/ath/ath10k/core.c:754:2: warning: ignoring return value of 'strscpy', declared with attribute warn_unused_result [-Wunused-result]
strscpy(ar->id.bdf_ext, bdf_ext + strlen(magic),
^
vim +/strscpy +754 drivers/net/wireless/ath/ath10k/core.c
738
739 if (memcmp(bdf_ext, magic, strlen(magic)) != 0) {
740 ath10k_dbg(ar, ATH10K_DBG_BOOT,
741 "bdf variant magic does not match.\n");
742 return;
743 }
744
745 for (i = 0; i < strlen(bdf_ext); i++) {
746 if (!isascii(bdf_ext[i]) || !isprint(bdf_ext[i])) {
747 ath10k_dbg(ar, ATH10K_DBG_BOOT,
748 "bdf variant name contains non ascii chars.\n");
749 return;
750 }
751 }
752
753 /* Copy extension name without magic suffix */
> 754 strscpy(ar->id.bdf_ext, bdf_ext + strlen(magic),
755 sizeof(ar->id.bdf_ext));
756
757 ath10k_dbg(ar, ATH10K_DBG_BOOT,
758 "found and validated bdf variant smbios_type 0x%x bdf %s\n",
759 ATH10K_SMBIOS_BDF_EXT_TYPE, bdf_ext);
760 }
761
762 static int ath10k_core_check_smbios(struct ath10k *ar)
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 48158 bytes --]
next prev parent reply other threads:[~2017-01-14 18:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-13 11:10 [PATCH] ath10k: Search SMBIOS for OEM board file extension Waldemar Rymarkiewicz
2017-01-14 18:09 ` kbuild test robot [this message]
2017-01-16 14:58 ` Waldemar Rymarkiewicz
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=201701150241.yCa5lXiT%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=alanliu@qca.qualcomm.com \
--cc=ath10k@lists.infradead.org \
--cc=bartosz.markowski@tieto.com \
--cc=ext.waldemar.rymarkiewicz@tieto.com \
--cc=kbuild-all@01.org \
--cc=kvalo@qca.qualcomm.com \
--cc=linux-wireless@vger.kernel.org \
--cc=rwchang@qti.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