Re: [PATCH v6 net-next 2/5] devlink: Implement devlink param multi attribute nested data values
From: kernel test robot
Date: Sat Mar 21 2026 - 03:06:19 EST
Hi Ratheesh,
kernel test robot noticed the following build warnings:
[auto build test WARNING on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Ratheesh-Kannoth/octeontx2-af-npc-cn20k-debugfs-enhancements/20260320-133513
base: net-next/main
patch link: https://lore.kernel.org/r/20260319055533.1720093-3-rkannoth%40marvell.com
patch subject: [PATCH v6 net-next 2/5] devlink: Implement devlink param multi attribute nested data values
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20260321/202603211533.2z2Lepl1-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260321/202603211533.2z2Lepl1-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603211533.2z2Lepl1-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
drivers/net/ethernet/mellanox/mlx5/core/en/pcie_cong_event.c: In function 'mlx5e_pcie_cong_get_thresh_config':
>> drivers/net/ethernet/mellanox/mlx5/core/en/pcie_cong_event.c:279:1: warning: the frame size of 1320 bytes is larger than 1280 bytes [-Wframe-larger-than=]
279 | }
| ^
vim +279 drivers/net/ethernet/mellanox/mlx5/core/en/pcie_cong_event.c
8890ee6dcf6e3d Dragos Tatulea 2025-07-15 250
f4053490a6f651 Dragos Tatulea 2025-09-07 251 static int
f4053490a6f651 Dragos Tatulea 2025-09-07 252 mlx5e_pcie_cong_get_thresh_config(struct mlx5_core_dev *dev,
f4053490a6f651 Dragos Tatulea 2025-09-07 253 struct mlx5e_pcie_cong_thresh *config)
f4053490a6f651 Dragos Tatulea 2025-09-07 254 {
f4053490a6f651 Dragos Tatulea 2025-09-07 255 u32 ids[4] = {
f4053490a6f651 Dragos Tatulea 2025-09-07 256 MLX5_DEVLINK_PARAM_ID_PCIE_CONG_IN_LOW,
f4053490a6f651 Dragos Tatulea 2025-09-07 257 MLX5_DEVLINK_PARAM_ID_PCIE_CONG_IN_HIGH,
f4053490a6f651 Dragos Tatulea 2025-09-07 258 MLX5_DEVLINK_PARAM_ID_PCIE_CONG_OUT_LOW,
f4053490a6f651 Dragos Tatulea 2025-09-07 259 MLX5_DEVLINK_PARAM_ID_PCIE_CONG_OUT_HIGH,
f4053490a6f651 Dragos Tatulea 2025-09-07 260 };
f4053490a6f651 Dragos Tatulea 2025-09-07 261 struct devlink *devlink = priv_to_devlink(dev);
f4053490a6f651 Dragos Tatulea 2025-09-07 262 union devlink_param_value val[4];
f4053490a6f651 Dragos Tatulea 2025-09-07 263
f4053490a6f651 Dragos Tatulea 2025-09-07 264 for (int i = 0; i < 4; i++) {
f4053490a6f651 Dragos Tatulea 2025-09-07 265 u32 id = ids[i];
f4053490a6f651 Dragos Tatulea 2025-09-07 266 int err;
f4053490a6f651 Dragos Tatulea 2025-09-07 267
f4053490a6f651 Dragos Tatulea 2025-09-07 268 err = devl_param_driverinit_value_get(devlink, id, &val[i]);
f4053490a6f651 Dragos Tatulea 2025-09-07 269 if (err)
f4053490a6f651 Dragos Tatulea 2025-09-07 270 return err;
f4053490a6f651 Dragos Tatulea 2025-09-07 271 }
f4053490a6f651 Dragos Tatulea 2025-09-07 272
f4053490a6f651 Dragos Tatulea 2025-09-07 273 config->inbound_low = val[0].vu16;
f4053490a6f651 Dragos Tatulea 2025-09-07 274 config->inbound_high = val[1].vu16;
f4053490a6f651 Dragos Tatulea 2025-09-07 275 config->outbound_low = val[2].vu16;
f4053490a6f651 Dragos Tatulea 2025-09-07 276 config->outbound_high = val[3].vu16;
f4053490a6f651 Dragos Tatulea 2025-09-07 277
f4053490a6f651 Dragos Tatulea 2025-09-07 278 return 0;
f4053490a6f651 Dragos Tatulea 2025-09-07 @279 }
f4053490a6f651 Dragos Tatulea 2025-09-07 280
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki