mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Alim Akhtar <alim.akhtar@samsung.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	Bharat Uppal <bharat.uppal@samsung.com>
Subject: drivers/ufs/host/ufs-exynos.c:1721:28: sparse: sparse: symbol 'fsd_ufs_drvs' was not declared. Should it be static?
Date: Thu, 11 Aug 2022 08:46:51 +0800	[thread overview]
Message-ID: <202208110805.AosH3J3i-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-08-11  0:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202208110805.AosH3J3i-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alim.akhtar@samsung.com \
    --cc=bharat.uppal@samsung.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®