[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210280047.udwlGQe8-lkp@intel.com>
Date: Fri, 28 Oct 2022 00:05:02 +0800
From: kernel test robot <lkp@...el.com>
To: Bart Van Assche <bvanassche@....org>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Bean Huo <beanhuo@...ron.com>
Subject: drivers/ufs/host/ufs-exynos.c:1598:34: warning: unused variable
'exynos_ufs_of_match'
Hi Bart,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b229b6ca5abbd63ff40c1396095b1b36b18139c3
commit: dd11376b9f1b73aca3f8c6eb541486bbb6996f05 scsi: ufs: Split the drivers/scsi/ufs directory
date: 5 months ago
config: hexagon-randconfig-r013-20221027
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dd11376b9f1b73aca3f8c6eb541486bbb6996f05
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout dd11376b9f1b73aca3f8c6eb541486bbb6996f05
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/firmware/ drivers/ufs/host/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/ufs/host/ufs-exynos.c:1598:34: warning: unused variable 'exynos_ufs_of_match' [-Wunused-const-variable]
static const struct of_device_id exynos_ufs_of_match[] = {
^
1 warning generated.
--
>> drivers/ufs/host/ufs-hisi.c:561:34: warning: unused variable 'ufs_hisi_of_match' [-Wunused-const-variable]
static const struct of_device_id ufs_hisi_of_match[] = {
^
1 warning generated.
vim +/exynos_ufs_of_match +1598 drivers/ufs/host/ufs-exynos.c
55f4b1f73631a0 drivers/scsi/ufs/ufs-exynos.c Alim Akhtar 2020-05-28 1597
55f4b1f73631a0 drivers/scsi/ufs/ufs-exynos.c Alim Akhtar 2020-05-28 @1598 static const struct of_device_id exynos_ufs_of_match[] = {
55f4b1f73631a0 drivers/scsi/ufs/ufs-exynos.c Alim Akhtar 2020-05-28 1599 { .compatible = "samsung,exynos7-ufs",
55f4b1f73631a0 drivers/scsi/ufs/ufs-exynos.c Alim Akhtar 2020-05-28 1600 .data = &exynos_ufs_drvs },
cc52e15397cc5d drivers/scsi/ufs/ufs-exynos.c Chanho Park 2021-10-18 1601 { .compatible = "samsung,exynosautov9-ufs",
cc52e15397cc5d drivers/scsi/ufs/ufs-exynos.c Chanho Park 2021-10-18 1602 .data = &exynosauto_ufs_drvs },
be39f4fd8dd430 drivers/scsi/ufs/ufs-exynos.c Chanho Park 2021-10-18 1603 { .compatible = "samsung,exynosautov9-ufs-vh",
be39f4fd8dd430 drivers/scsi/ufs/ufs-exynos.c Chanho Park 2021-10-18 1604 .data = &exynosauto_ufs_vh_drvs },
55f4b1f73631a0 drivers/scsi/ufs/ufs-exynos.c Alim Akhtar 2020-05-28 1605 {},
55f4b1f73631a0 drivers/scsi/ufs/ufs-exynos.c Alim Akhtar 2020-05-28 1606 };
55f4b1f73631a0 drivers/scsi/ufs/ufs-exynos.c Alim Akhtar 2020-05-28 1607
:::::: The code at line 1598 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
https://01.org/lkp
View attachment "config" of type "text/plain" (121737 bytes)
Powered by blists - more mailing lists