* [phy:next 67/74] drivers/phy/qualcomm/phy-qcom-qmp-pcie.c:2357:38: warning: 'qmp_pcie_offsets_v5_20' defined but not used
@ 2023-08-17 14:00 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-17 14:00 UTC (permalink / raw)
To: Dmitry Baryshkov; +Cc: oe-kbuild-all, Vinod Koul, Kishon
tree: https://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git next
head: a11ecceaf41d2dd542228007940652fea7532276
commit: 64adc0bf06ad5855da5a02b9653fb7cfda289c50 [67/74] phy: qcom-qmp-pcie: populate offsets configuration
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230817/202308172102.2PXA2WFl-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230817/202308172102.2PXA2WFl-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308172102.2PXA2WFl-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c:2378:38: error: redefinition of 'qmp_pcie_offsets_v5_20'
2378 | static const struct qmp_pcie_offsets qmp_pcie_offsets_v5_20 = {
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c:2357:38: note: previous definition of 'qmp_pcie_offsets_v5_20' with type 'const struct qmp_pcie_offsets'
2357 | static const struct qmp_pcie_offsets qmp_pcie_offsets_v5_20 = {
| ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/phy/qualcomm/phy-qcom-qmp-pcie.c:2357:38: warning: 'qmp_pcie_offsets_v5_20' defined but not used [-Wunused-const-variable=]
vim +/qmp_pcie_offsets_v5_20 +2357 drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
2356
> 2357 static const struct qmp_pcie_offsets qmp_pcie_offsets_v5_20 = {
2358 .serdes = 0x1000,
2359 .pcs = 0x1200,
2360 .pcs_misc = 0x1400,
2361 .tx = 0x0000,
2362 .rx = 0x0200,
2363 .tx2 = 0x0800,
2364 .rx2 = 0x0a00,
2365 };
2366
2367 static const struct qmp_pcie_offsets qmp_pcie_offsets_v6_20 = {
2368 .serdes = 0x1000,
2369 .pcs = 0x1200,
2370 .pcs_misc = 0x1400,
2371 .tx = 0x0000,
2372 .rx = 0x0200,
2373 .tx2 = 0x0800,
2374 .rx2 = 0x0a00,
2375 .ln_shrd = 0x0e00,
2376 };
2377
> 2378 static const struct qmp_pcie_offsets qmp_pcie_offsets_v5_20 = {
2379 .serdes = 0x1000,
2380 .pcs = 0x1200,
2381 .pcs_misc = 0x1400,
2382 .tx = 0x0000,
2383 .rx = 0x0200,
2384 .tx2 = 0x0800,
2385 .rx2 = 0x0a00,
2386 .ln_shrd = 0x0e00,
2387 };
2388
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-17 14:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-17 14:00 [phy:next 67/74] drivers/phy/qualcomm/phy-qcom-qmp-pcie.c:2357:38: warning: 'qmp_pcie_offsets_v5_20' defined but not used 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.