[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202103160403.5g8fgbRT-lkp@intel.com>
Date: Tue, 16 Mar 2021 04:24:09 +0800
From: kernel test robot <lkp@...el.com>
To: Alim Akhtar <alim.akhtar@...sung.com>
Cc: kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
linux-kernel@...r.kernel.org,
"Martin K. Petersen" <martin.petersen@...cle.com>
Subject: drivers/scsi/ufs/ufs-exynos.c:1268:34: warning: unused variable
'exynos_ufs_of_match'
Hi Alim,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1e28eed17697bcf343c6743f0028cc3b5dd88bf0
commit: d31503fe395d1d7e17b85eb7b291cc1a4bff2671 scsi: ufs: Allow exynos ufs driver to build as module
date: 9 months ago
config: x86_64-randconfig-a002-20210316 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a28facba1ccdc957f386b7753f4958307f1bfde8)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d31503fe395d1d7e17b85eb7b291cc1a4bff2671
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d31503fe395d1d7e17b85eb7b291cc1a4bff2671
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/scsi/ufs/ufs-exynos.c:1268:34: warning: unused variable 'exynos_ufs_of_match' [-Wunused-const-variable]
static const struct of_device_id exynos_ufs_of_match[] = {
^
1 warning generated.
vim +/exynos_ufs_of_match +1268 drivers/scsi/ufs/ufs-exynos.c
55f4b1f73631a0 Alim Akhtar 2020-05-28 1267
55f4b1f73631a0 Alim Akhtar 2020-05-28 @1268 static const struct of_device_id exynos_ufs_of_match[] = {
55f4b1f73631a0 Alim Akhtar 2020-05-28 1269 { .compatible = "samsung,exynos7-ufs",
55f4b1f73631a0 Alim Akhtar 2020-05-28 1270 .data = &exynos_ufs_drvs },
55f4b1f73631a0 Alim Akhtar 2020-05-28 1271 {},
55f4b1f73631a0 Alim Akhtar 2020-05-28 1272 };
55f4b1f73631a0 Alim Akhtar 2020-05-28 1273
:::::: The code at line 1268 was first introduced by commit
:::::: 55f4b1f73631a0817717fe6e98517de51b4c3527 scsi: ufs: ufs-exynos: Add UFS host support for Exynos SoCs
:::::: TO: Alim Akhtar <alim.akhtar@...sung.com>
:::::: CC: Martin K. Petersen <martin.petersen@...cle.com>
---
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" (39897 bytes)
Powered by blists - more mailing lists