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: <202208061008.saCftLps-lkp@intel.com>
Date:   Sat, 6 Aug 2022 10:39:01 +0800
From:   kernel test robot <lkp@...el.com>
To:     Arnd Bergmann <arnd@...db.de>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: arch/arm/mach-mmp/devices.c:241:17: sparse: sparse: symbol
 'pxa168_usb_phy_resources' was not declared. Should it be static?

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   6614a3c3164a5df2b54abb0b3559f51041cf705b
commit: 09f6b27d5ddd9ad0ec096d1b0f8decdacc70f0f8 ARM: dove: multiplatform support
date:   4 months ago
config: arm-randconfig-s051-20220805 (https://download.01.org/0day-ci/archive/20220806/202208061008.saCftLps-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-39-gce1a6720-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=09f6b27d5ddd9ad0ec096d1b0f8decdacc70f0f8
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 09f6b27d5ddd9ad0ec096d1b0f8decdacc70f0f8
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm SHELL=/bin/bash

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

sparse warnings: (new ones prefixed by >>)
>> arch/arm/mach-mmp/devices.c:241:17: sparse: sparse: symbol 'pxa168_usb_phy_resources' was not declared. Should it be static?

vim +/pxa168_usb_phy_resources +241 arch/arm/mach-mmp/devices.c

75b1bdf51c4b5c Neil Zhang     2012-05-03  239  
a225daf72ee788 Lubomir Rintel 2018-11-28  240  #if IS_ENABLED(CONFIG_PHY_PXA_USB)
a225daf72ee788 Lubomir Rintel 2018-11-28 @241  struct resource pxa168_usb_phy_resources[] = {
a225daf72ee788 Lubomir Rintel 2018-11-28  242  	[0] = {
a225daf72ee788 Lubomir Rintel 2018-11-28  243  		.start	= PXA168_U2O_PHYBASE,
a225daf72ee788 Lubomir Rintel 2018-11-28  244  		.end	= PXA168_U2O_PHYBASE + USB_PHY_RANGE,
a225daf72ee788 Lubomir Rintel 2018-11-28  245  		.flags	= IORESOURCE_MEM,
a225daf72ee788 Lubomir Rintel 2018-11-28  246  	},
a225daf72ee788 Lubomir Rintel 2018-11-28  247  };
a225daf72ee788 Lubomir Rintel 2018-11-28  248  

:::::: The code at line 241 was first introduced by commit
:::::: a225daf72ee7885ec897e5624b399a024723246f ARM: mmp: add a pxa-usb-phy device

:::::: TO: Lubomir Rintel <lkundrak@...sk>
:::::: CC: Olof Johansson <olof@...om.net>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ