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: <202209271357.D2VZaoKq-lkp@intel.com>
Date:   Tue, 27 Sep 2022 16:04:16 +0800
From:   kernel test robot <lkp@...el.com>
To:     Bart Van Assche <bvanassche@....org>
Cc:     kbuild-all@...ts.01.org, 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:
 'exynos_ufs_of_match' defined but not used

Hi Bart,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   a1375562c0a87f0fa2eaf3e8ce15824696d4170a
commit: dd11376b9f1b73aca3f8c6eb541486bbb6996f05 scsi: ufs: Split the drivers/scsi/ufs directory
date:   4 months ago
config: i386-buildonly-randconfig-r003-20220926
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
        # 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
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash 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: 'exynos_ufs_of_match' defined but not used [-Wunused-const-variable=]
    1598 | static const struct of_device_id exynos_ufs_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~


vim +/exynos_ufs_of_match +1598 drivers/ufs/host/ufs-exynos.c

55f4b1f73631a08 drivers/scsi/ufs/ufs-exynos.c Alim Akhtar 2020-05-28  1597  
55f4b1f73631a08 drivers/scsi/ufs/ufs-exynos.c Alim Akhtar 2020-05-28 @1598  static const struct of_device_id exynos_ufs_of_match[] = {
55f4b1f73631a08 drivers/scsi/ufs/ufs-exynos.c Alim Akhtar 2020-05-28  1599  	{ .compatible = "samsung,exynos7-ufs",
55f4b1f73631a08 drivers/scsi/ufs/ufs-exynos.c Alim Akhtar 2020-05-28  1600  	  .data	      = &exynos_ufs_drvs },
cc52e15397cc5dc drivers/scsi/ufs/ufs-exynos.c Chanho Park 2021-10-18  1601  	{ .compatible = "samsung,exynosautov9-ufs",
cc52e15397cc5dc drivers/scsi/ufs/ufs-exynos.c Chanho Park 2021-10-18  1602  	  .data	      = &exynosauto_ufs_drvs },
be39f4fd8dd4300 drivers/scsi/ufs/ufs-exynos.c Chanho Park 2021-10-18  1603  	{ .compatible = "samsung,exynosautov9-ufs-vh",
be39f4fd8dd4300 drivers/scsi/ufs/ufs-exynos.c Chanho Park 2021-10-18  1604  	  .data	      = &exynosauto_ufs_vh_drvs },
55f4b1f73631a08 drivers/scsi/ufs/ufs-exynos.c Alim Akhtar 2020-05-28  1605  	{},
55f4b1f73631a08 drivers/scsi/ufs/ufs-exynos.c Alim Akhtar 2020-05-28  1606  };
55f4b1f73631a08 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" (166552 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ