tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   01830e6c042e8eb6eb202e05d7df8057135b4c26
commit: e33929537b76486d2ed576a0d9ce3ebff51bf851 [11232/13260] platform/x86: 
thinkpad_acpi: use standard charge control attribute names
config: x86_64-randconfig-s021-20200801 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-115-g5fc204f2-dirty
        git checkout e33929537b76486d2ed576a0d9ce3ebff51bf851
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <l...@intel.com>


sparse warnings: (new ones prefixed by >>)

>> drivers/platform/x86/thinkpad_acpi.c:9636:25: sparse: sparse: symbol 
>> 'dev_attr_charge_start_threshold' was not declared. Should it be static?
>> drivers/platform/x86/thinkpad_acpi.c:9642:25: sparse: sparse: symbol 
>> 'dev_attr_charge_stop_threshold' 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-...@lists.01.org

Attachment: .config.gz
Description: application/gzip

Reply via email to