All of lore.kernel.org
 help / color / mirror / Atom feed
* [jwboyer-fedora:f33 33/38] drivers/pci/controller/dwc/pcie-tegra194.c:243:27: warning: unused variable 'pcie_gen_freq'
@ 2021-01-12 20:54 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-12 20:54 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2943 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/fedora.git f33
head:   4f10135921cffa0409227df23fdf47179f55651d
commit: d25f30e2f0c67f058d0eb74341aa02fb36848cac [33/38] PCI: Add MCFG quirks for Tegra194 host controllers
config: arm64-randconfig-r034-20210112 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 32bcfcda4e28375e5a85268d2acfabcfcc011abf)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/fedora.git/commit/?id=d25f30e2f0c67f058d0eb74341aa02fb36848cac
        git remote add jwboyer-fedora https://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/fedora.git
        git fetch --no-tags jwboyer-fedora f33
        git checkout d25f30e2f0c67f058d0eb74341aa02fb36848cac
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/pci/controller/dwc/pcie-tegra194.c:243:27: warning: unused variable 'pcie_gen_freq' [-Wunused-const-variable]
   static const unsigned int pcie_gen_freq[] = {
                             ^
   drivers/pci/controller/dwc/pcie-tegra194.c:250:18: warning: unused variable 'event_cntr_ctrl_offset' [-Wunused-const-variable]
   static const u32 event_cntr_ctrl_offset[] = {
                    ^
   drivers/pci/controller/dwc/pcie-tegra194.c:259:18: warning: unused variable 'event_cntr_data_offset' [-Wunused-const-variable]
   static const u32 event_cntr_data_offset[] = {
                    ^
   3 warnings generated.


vim +/pcie_gen_freq +243 drivers/pci/controller/dwc/pcie-tegra194.c

c57247f940e8ea13 Vidya Sagar 2020-03-03  242  
56e15a238d92788a Vidya Sagar 2019-08-13 @243  static const unsigned int pcie_gen_freq[] = {
56e15a238d92788a Vidya Sagar 2019-08-13  244  	GEN1_CORE_CLK_FREQ,
56e15a238d92788a Vidya Sagar 2019-08-13  245  	GEN2_CORE_CLK_FREQ,
56e15a238d92788a Vidya Sagar 2019-08-13  246  	GEN3_CORE_CLK_FREQ,
56e15a238d92788a Vidya Sagar 2019-08-13  247  	GEN4_CORE_CLK_FREQ
56e15a238d92788a Vidya Sagar 2019-08-13  248  };
56e15a238d92788a Vidya Sagar 2019-08-13  249  

:::::: The code at line 243 was first introduced by commit
:::::: 56e15a238d92788a2d09e0c5c26a5de1b3156931 PCI: tegra: Add Tegra194 PCIe support

:::::: TO: Vidya Sagar <vidyas@nvidia.com>
:::::: CC: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35799 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-12 20:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-12 20:54 [jwboyer-fedora:f33 33/38] drivers/pci/controller/dwc/pcie-tegra194.c:243:27: warning: unused variable 'pcie_gen_freq' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.