* [geert-renesas-drivers:master 34/52] drivers/phy/qualcomm/phy-qcom-qmp-usb.c:1340:3: error: field designator 'lanes' does not refer to any field in type 'const struct qmp_phy_cfg'
@ 2024-03-06 3:46 kernel test robot
2024-03-06 8:00 ` Geert Uytterhoeven
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2024-03-06 3:46 UTC (permalink / raw)
To: Vinod Koul; +Cc: llvm, oe-kbuild-all, linux-renesas-soc, Geert Uytterhoeven
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master
head: 0a76003de2b9029d5898c23d23ddbb90f5a74580
commit: 98177a93f8e405ce41969db23f5bf4766aa6a1f4 [34/52] Merge remote-tracking branch 'phy/next' into renesas-drivers
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20240306/202403061131.zzApAwRB-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 325f51237252e6dab8e4e1ea1fa7acbb4faee1cd)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240306/202403061131.zzApAwRB-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/202403061131.zzApAwRB-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/phy/qualcomm/phy-qcom-qmp-usb.c:10:
In file included from include/linux/io.h:13:
In file included from arch/hexagon/include/asm/io.h:328:
include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
547 | val = __raw_readb(PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
560 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr));
| ~~~~~~~~~~ ^
include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu'
37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x))
| ^
In file included from drivers/phy/qualcomm/phy-qcom-qmp-usb.c:10:
In file included from include/linux/io.h:13:
In file included from arch/hexagon/include/asm/io.h:328:
include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
573 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr));
| ~~~~~~~~~~ ^
include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu'
35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
| ^
In file included from drivers/phy/qualcomm/phy-qcom-qmp-usb.c:10:
In file included from include/linux/io.h:13:
In file included from arch/hexagon/include/asm/io.h:328:
include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
584 | __raw_writeb(value, PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
594 | __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
604 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
In file included from drivers/phy/qualcomm/phy-qcom-qmp-usb.c:16:
In file included from include/linux/phy/phy.h:17:
In file included from include/linux/regulator/consumer.h:35:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:20:
In file included from include/linux/mm.h:2188:
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> drivers/phy/qualcomm/phy-qcom-qmp-usb.c:1340:3: error: field designator 'lanes' does not refer to any field in type 'const struct qmp_phy_cfg'
1340 | .lanes = 1,
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
7 warnings and 1 error generated.
vim +1340 drivers/phy/qualcomm/phy-qcom-qmp-usb.c
2daa9555ba9858 Abel Vesa 2023-12-07 1338
62a5df451ab911 Mantas Pucka 2024-01-23 1339 static const struct qmp_phy_cfg ipq6018_usb3phy_cfg = {
62a5df451ab911 Mantas Pucka 2024-01-23 @1340 .lanes = 1,
62a5df451ab911 Mantas Pucka 2024-01-23 1341
d4c08d8b23b228 Dmitry Baryshkov 2024-02-13 1342 .offsets = &qmp_usb_offsets_v3,
62a5df451ab911 Mantas Pucka 2024-01-23 1343
62a5df451ab911 Mantas Pucka 2024-01-23 1344 .serdes_tbl = ipq9574_usb3_serdes_tbl,
62a5df451ab911 Mantas Pucka 2024-01-23 1345 .serdes_tbl_num = ARRAY_SIZE(ipq9574_usb3_serdes_tbl),
62a5df451ab911 Mantas Pucka 2024-01-23 1346 .tx_tbl = msm8996_usb3_tx_tbl,
62a5df451ab911 Mantas Pucka 2024-01-23 1347 .tx_tbl_num = ARRAY_SIZE(msm8996_usb3_tx_tbl),
62a5df451ab911 Mantas Pucka 2024-01-23 1348 .rx_tbl = ipq8074_usb3_rx_tbl,
62a5df451ab911 Mantas Pucka 2024-01-23 1349 .rx_tbl_num = ARRAY_SIZE(ipq8074_usb3_rx_tbl),
62a5df451ab911 Mantas Pucka 2024-01-23 1350 .pcs_tbl = ipq8074_usb3_pcs_tbl,
62a5df451ab911 Mantas Pucka 2024-01-23 1351 .pcs_tbl_num = ARRAY_SIZE(ipq8074_usb3_pcs_tbl),
62a5df451ab911 Mantas Pucka 2024-01-23 1352 .vreg_list = qmp_phy_vreg_l,
62a5df451ab911 Mantas Pucka 2024-01-23 1353 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
62a5df451ab911 Mantas Pucka 2024-01-23 1354 .regs = qmp_v3_usb3phy_regs_layout,
62a5df451ab911 Mantas Pucka 2024-01-23 1355 };
62a5df451ab911 Mantas Pucka 2024-01-23 1356
:::::: The code at line 1340 was first introduced by commit
:::::: 62a5df451ab911421da96655fcc4d1e269ff6e2f phy: qcom-qmp-usb: fix serdes init sequence for IPQ6018
:::::: TO: Mantas Pucka <mantas@8devices.com>
:::::: CC: Vinod Koul <vkoul@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [geert-renesas-drivers:master 34/52] drivers/phy/qualcomm/phy-qcom-qmp-usb.c:1340:3: error: field designator 'lanes' does not refer to any field in type 'const struct qmp_phy_cfg'
2024-03-06 3:46 [geert-renesas-drivers:master 34/52] drivers/phy/qualcomm/phy-qcom-qmp-usb.c:1340:3: error: field designator 'lanes' does not refer to any field in type 'const struct qmp_phy_cfg' kernel test robot
@ 2024-03-06 8:00 ` Geert Uytterhoeven
0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2024-03-06 8:00 UTC (permalink / raw)
To: kernel test robot
Cc: Vinod Koul, llvm, oe-kbuild-all, linux-renesas-soc,
Geert Uytterhoeven
On Wed, Mar 6, 2024 at 4:47 AM kernel test robot <lkp@intel.com> wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master
> head: 0a76003de2b9029d5898c23d23ddbb90f5a74580
> commit: 98177a93f8e405ce41969db23f5bf4766aa6a1f4 [34/52] Merge remote-tracking branch 'phy/next' into renesas-drivers
> config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20240306/202403061131.zzApAwRB-lkp@intel.com/config)
> compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 325f51237252e6dab8e4e1ea1fa7acbb4faee1cd)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240306/202403061131.zzApAwRB-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/202403061131.zzApAwRB-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
> >> drivers/phy/qualcomm/phy-qcom-qmp-usb.c:1340:3: error: field designator 'lanes' does not refer to any field in type 'const struct qmp_phy_cfg'
> 1340 | .lanes = 1,
> | ~^~~~~~~~~~~~~~~~~~~~~~~~~~
> 7 warnings and 1 error generated.
Oops, that's a bad merge conflict resolution on my side.
Please ignore.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-06 8:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06 3:46 [geert-renesas-drivers:master 34/52] drivers/phy/qualcomm/phy-qcom-qmp-usb.c:1340:3: error: field designator 'lanes' does not refer to any field in type 'const struct qmp_phy_cfg' kernel test robot
2024-03-06 8:00 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox