* [cilium:pr/netkit-iouring7 2/12] net/core/netdev_queues.c:75:28: error: passing 'const struct net_device *' to parameter of type 'struct net_device *' discards qualifiers
@ 2025-12-06 17:30 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-06 17:30 UTC (permalink / raw)
To: Daniel Borkmann
Cc: llvm, oe-kbuild-all, Daniel Borkmann, David Wei,
Nikolay Aleksandrov
tree: https://github.com/cilium/linux.git pr/netkit-iouring7
head: 49e30646c2932aa37daeb4edc45b82d3e0c72bf3
commit: 3064e035c5cf344cbcc324173a049f464cd6e69e [2/12] net: Implement netdev_nl_queue_create_doit
config: x86_64-randconfig-001-20251206 (https://download.01.org/0day-ci/archive/20251207/202512070112.EoZMs8hu-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251207/202512070112.EoZMs8hu-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/202512070112.EoZMs8hu-lkp@intel.com/
All errors (new ones prefixed by >>):
>> net/core/netdev_queues.c:75:28: error: passing 'const struct net_device *' to parameter of type 'struct net_device *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
75 | if (xsk_get_pool_from_qid(dev, idx)) {
| ^~~
include/net/xdp_sock_drv.h:299:42: note: passing argument to parameter 'dev' here
299 | xsk_get_pool_from_qid(struct net_device *dev, u16 queue_id)
| ^
1 error generated.
vim +75 net/core/netdev_queues.c
67
68 bool netdev_queue_busy(const struct net_device *dev, int idx,
69 struct netlink_ext_ack *extack)
70 {
71 if (netdev_rx_queue_leased(dev, idx)) {
72 NL_SET_ERR_MSG(extack, "Lease device queue is already leased");
73 return true;
74 }
> 75 if (xsk_get_pool_from_qid(dev, idx)) {
--
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:[~2025-12-06 17:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-06 17:30 [cilium:pr/netkit-iouring7 2/12] net/core/netdev_queues.c:75:28: error: passing 'const struct net_device *' to parameter of type 'struct net_device *' discards qualifiers kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox