mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/ufs/host/ufs-exynos.c:1721:28: sparse: sparse: symbol 'fsd_ufs_drvs' was not declared. Should it be static?
@ 2022-08-11  0:46 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-08-11  0:46 UTC (permalink / raw)
  To: Alim Akhtar; +Cc: kbuild-all, linux-kernel, Martin K. Petersen, Bharat Uppal

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@intel.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-11  0:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11  0:46 drivers/ufs/host/ufs-exynos.c:1721:28: sparse: sparse: symbol 'fsd_ufs_drvs' was not declared. Should it be static? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®