lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202109130556.Xt4QZ1v4-lkp@intel.com>
Date:   Mon, 13 Sep 2021 05:32:11 +0800
From:   kernel test robot <lkp@...el.com>
To:     Luis Chamberlain <mcgrof@...nel.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [mcgrof:20210910-sysfs-generic-deadlock-fix 3/10]
 lib/test_sysfs.c:148:26: sparse: sparse: symbol 'first_test_dev' was not
 declared. Should it be static?

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git 20210910-sysfs-generic-deadlock-fix
head:   45e10e4ef8d083225f3fcd0157b447f2de52b5ed
commit: ed2111f617d4365d6a7a5032ae2002e434d901bc [3/10] selftests: add tests_sysfs module
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/commit/?id=ed2111f617d4365d6a7a5032ae2002e434d901bc
        git remote add mcgrof https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git
        git fetch --no-tags mcgrof 20210910-sysfs-generic-deadlock-fix
        git checkout ed2111f617d4365d6a7a5032ae2002e434d901bc
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash

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


sparse warnings: (new ones prefixed by >>)
>> lib/test_sysfs.c:148:26: sparse: sparse: symbol 'first_test_dev' was not declared. Should it be static?

vim +/first_test_dev +148 lib/test_sysfs.c

   147	
 > 148	struct sysfs_test_device *first_test_dev;
   149	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (41895 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ