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: <202208110805.AosH3J3i-lkp@intel.com>
Date:   Thu, 11 Aug 2022 08:46:51 +0800
From:   kernel test robot <lkp@...el.com>
To:     Alim Akhtar <alim.akhtar@...sung.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        "Martin K. Petersen" <martin.petersen@...cle.com>,
        Bharat Uppal <bharat.uppal@...sung.com>
Subject: drivers/ufs/host/ufs-exynos.c:1721:28: sparse: sparse: symbol
 'fsd_ufs_drvs' was not declared. Should it be static?

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   aeb6e6ac18c73ec287b3b1e2c913520699358c13
commit: 216f74e8059aa305a993da1c2d6e3ba2117979fa scsi: ufs: host: ufs-exynos: Add support for FSD UFS HCI
date:   8 weeks ago
config: microblaze-randconfig-s052-20220810 (https://download.01.org/0day-ci/archive/20220811/202208110805.AosH3J3i-lkp@intel.com/config)
compiler: microblaze-linux-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=216f74e8059aa305a993da1c2d6e3ba2117979fa
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 216f74e8059aa305a993da1c2d6e3ba2117979fa
        # 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=microblaze SHELL=/bin/bash drivers/scsi/qla2xxx/ drivers/ufs/host/

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 >>)
>> drivers/ufs/host/ufs-exynos.c:1721:28: sparse: sparse: symbol 'fsd_ufs_drvs' was not declared. Should it be static?

vim +/fsd_ufs_drvs +1721 drivers/ufs/host/ufs-exynos.c

  1713	
  1714	struct exynos_ufs_drv_data fsd_ufs_drvs = {
  1715		.uic_attr               = &fsd_uic_attr,
  1716		.quirks                 = UFSHCD_QUIRK_PRDT_BYTE_GRAN |
  1717					  UFSHCI_QUIRK_BROKEN_REQ_LIST_CLR |
  1718					  UFSHCD_QUIRK_BROKEN_OCS_FATAL_ERROR |
  1719					  UFSHCD_QUIRK_SKIP_DEF_UNIPRO_TIMEOUT_SETTING |
  1720					  UFSHCI_QUIRK_SKIP_RESET_INTR_AGGR,
> 1721		.opts                   = EXYNOS_UFS_OPT_HAS_APB_CLK_CTRL |
  1722					  EXYNOS_UFS_OPT_BROKEN_AUTO_CLK_CTRL |
  1723					  EXYNOS_UFS_OPT_SKIP_CONFIG_PHY_ATTR |
  1724					  EXYNOS_UFS_OPT_BROKEN_RX_SEL_IDX,
  1725		.pre_link               = fsd_ufs_pre_link,
  1726		.post_link              = fsd_ufs_post_link,
  1727		.pre_pwr_change         = fsd_ufs_pre_pwr_change,
  1728	};
  1729	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ