From: kernel test robot <lkp@intel.com>
To: Vinod Koul <vkoul@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-renesas-soc@vger.kernel.org,
Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [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'
Date: Wed, 6 Mar 2024 11:46:26 +0800 [thread overview]
Message-ID: <202403061131.zzApAwRB-lkp@intel.com> (raw)
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
next reply other threads:[~2024-03-06 3:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-06 3:46 kernel test robot [this message]
2024-03-06 8:00 ` [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' Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202403061131.zzApAwRB-lkp@intel.com \
--to=lkp@intel.com \
--cc=geert+renesas@glider.be \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox