[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202504260156.kvLvB9N3-lkp@intel.com>
Date: Sat, 26 Apr 2025 01:50:11 +0800
From: kernel test robot <lkp@...el.com>
To: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Krzysztof WilczyĆski <kw@...ux.com>,
Rob Herring <robh@...nel.org>, Bjorn Helgaas <helgaas@...nel.org>,
Jingoo Han <jingoohan1@...il.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
Subject: Re: [PATCH v3 3/4] PCI: dwc: Add debugfs support for PTM context
Hi Manivannan,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 0af2f6be1b4281385b618cb86ad946eded089ac8]
url: https://github.com/intel-lab-lkp/linux/commits/Manivannan-Sadhasivam/PCI-Add-debugfs-support-for-exposing-PTM-context/20250425-001237
base: 0af2f6be1b4281385b618cb86ad946eded089ac8
patch link: https://lore.kernel.org/r/20250424-pcie-ptm-v3-3-c929ebd2821c%40linaro.org
patch subject: [PATCH v3 3/4] PCI: dwc: Add debugfs support for PTM context
config: i386-buildonly-randconfig-005-20250425 (https://download.01.org/0day-ci/archive/20250426/202504260156.kvLvB9N3-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250426/202504260156.kvLvB9N3-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504260156.kvLvB9N3-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/perf/dwc_pcie_pmu.c:18:
include/linux/pci.h: In function 'pcie_ptm_create_debugfs':
include/linux/pci.h:1911:39: warning: no return statement in function returning non-void [-Wreturn-type]
1911 | const struct pcie_ptm_ops *ops) { }
| ^~~~~~~~~~~~
In file included from drivers/perf/dwc_pcie_pmu.c:16:
include/linux/pcie-dwc.h: At top level:
>> include/linux/pcie-dwc.h:38:38: warning: 'dwc_pcie_ptm_vsec_ids' defined but not used [-Wunused-const-variable=]
38 | static const struct dwc_pcie_vsec_id dwc_pcie_ptm_vsec_ids[] = {
| ^~~~~~~~~~~~~~~~~~~~~
vim +/dwc_pcie_ptm_vsec_ids +38 include/linux/pcie-dwc.h
37
> 38 static const struct dwc_pcie_vsec_id dwc_pcie_ptm_vsec_ids[] = {
39 { .vendor_id = PCI_VENDOR_ID_QCOM, /* EP */
40 .vsec_id = 0x03, .vsec_rev = 0x1 },
41 { .vendor_id = PCI_VENDOR_ID_QCOM, /* RC */
42 .vsec_id = 0x04, .vsec_rev = 0x1 },
43 { }
44 };
45
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists