tree:
https://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/fedora.git f30
head: 2a9c1e3b6c53a78a96a7fd9599f95172fb9e9ac9
commit: f7ea225a780c6e71cacb1cb4b9ea5da7cd2dd96f [35/98] PCI: Add MCFG quirks for Tegra194
host controllers
config: arm64-randconfig-r026-20200521 (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
3393cc4cebf9969db94dc424b7a2b6195589c33b)
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
git checkout f7ea225a780c6e71cacb1cb4b9ea5da7cd2dd96f
# 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: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
> drivers/pci/controller/dwc/pcie-tegra194.c:228:27: warning:
unused variable 'pcie_gen_freq' [-Wunused-const-variable]
static const
unsigned int pcie_gen_freq[] = {
^
drivers/pci/controller/dwc/pcie-tegra194.c:235: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:244: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 +228 drivers/pci/controller/dwc/pcie-tegra194.c
56e15a238d9278 Vidya Sagar 2019-08-13 227
56e15a238d9278 Vidya Sagar 2019-08-13 @228 static const unsigned int pcie_gen_freq[] = {
56e15a238d9278 Vidya Sagar 2019-08-13 229 GEN1_CORE_CLK_FREQ,
56e15a238d9278 Vidya Sagar 2019-08-13 230 GEN2_CORE_CLK_FREQ,
56e15a238d9278 Vidya Sagar 2019-08-13 231 GEN3_CORE_CLK_FREQ,
56e15a238d9278 Vidya Sagar 2019-08-13 232 GEN4_CORE_CLK_FREQ
56e15a238d9278 Vidya Sagar 2019-08-13 233 };
56e15a238d9278 Vidya Sagar 2019-08-13 234
:::::: The code at line 228 was first introduced by commit
:::::: 56e15a238d92788a2d09e0c5c26a5de1b3156931 PCI: tegra: Add Tegra194 PCIe support
:::::: TO: Vidya Sagar <vidyas(a)nvidia.com>
:::::: CC: Lorenzo Pieralisi <lorenzo.pieralisi(a)arm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org