From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-platform-drivers-x86:review-hans 40/42] drivers/platform/x86/firmware_attributes_class.c:11:5: sparse: sparse: symbol 'fw_attr_inuse' was not declared. Should it be static?
Date: Thu, 03 Jun 2021 23:39:33 +0800 [thread overview]
Message-ID: <202106032303.cmY4bt5e-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1492 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git review-hans
head: 7fac4861a9747efe442a9c4b20cec4133b9ceb0d
commit: d97de653d18f689d590021599c79d34b646b594a [40/42] platform/x86: dell-wmi-sysman: Use firmware_attributes_class helper
config: i386-randconfig-s002-20210603 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/commit/?id=d97de653d18f689d590021599c79d34b646b594a
git remote add linux-platform-drivers-x86 https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git
git fetch --no-tags linux-platform-drivers-x86 review-hans
git checkout d97de653d18f689d590021599c79d34b646b594a
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/platform/x86/firmware_attributes_class.c:11:5: sparse: sparse: symbol 'fw_attr_inuse' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 41044 bytes --]
next reply other threads:[~2021-06-03 15:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-03 15:39 kernel test robot [this message]
2021-06-03 15:39 ` [RFC PATCH linux-platform-drivers-x86] platform/x86: dell-wmi-sysman: fw_attr_inuse can be static kernel test robot
2021-06-03 17:04 ` Hans de Goede
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=202106032303.cmY4bt5e-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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.