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]
Date:   Mon, 27 Jul 2020 09:38:12 +0800
From:   kernel test robot <lkp@...el.com>
To:     Krzysztof Kozlowski <krzk@...nel.org>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org, Joerg Roedel <jroedel@...e.de>
Subject: drivers/iommu/mtk_iommu.c:799:34: warning: unused variable
 'mtk_iommu_of_ids'

Hi Krzysztof,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   92ed301919932f777713b9172e525674157e983d
commit: e93a1695d7fb551376b1c1220a267d032b6ad159 iommu: Enable compile testing for some of drivers
date:   5 months ago
config: x86_64-randconfig-r005-20200726 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 8bf4c1f4fb257774f66c8cda07adc6c5e8668326)
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
        git checkout e93a1695d7fb551376b1c1220a267d032b6ad159
        # 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/iommu/mtk_iommu.c:799:34: warning: unused variable 'mtk_iommu_of_ids' [-Wunused-const-variable]
   static const struct of_device_id mtk_iommu_of_ids[] = {
                                    ^
   1 warning generated.

vim +/mtk_iommu_of_ids +799 drivers/iommu/mtk_iommu.c

907ba6a195991a Yong Wu 2019-08-24  798  
0df4fabe208d95 Yong Wu 2016-02-23 @799  static const struct of_device_id mtk_iommu_of_ids[] = {
cecdce9d7eed33 Yong Wu 2019-08-24  800  	{ .compatible = "mediatek,mt2712-m4u", .data = &mt2712_data},
cecdce9d7eed33 Yong Wu 2019-08-24  801  	{ .compatible = "mediatek,mt8173-m4u", .data = &mt8173_data},
907ba6a195991a Yong Wu 2019-08-24  802  	{ .compatible = "mediatek,mt8183-m4u", .data = &mt8183_data},
0df4fabe208d95 Yong Wu 2016-02-23  803  	{}
0df4fabe208d95 Yong Wu 2016-02-23  804  };
0df4fabe208d95 Yong Wu 2016-02-23  805  

:::::: The code at line 799 was first introduced by commit
:::::: 0df4fabe208d9576f2671d31e77cf46d20fdcd01 iommu/mediatek: Add mt8173 IOMMU driver

:::::: TO: Yong Wu <yong.wu@...iatek.com>
:::::: CC: Joerg Roedel <jroedel@...e.de>

---
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" (36941 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ