Re: [Intel-wired-lan] [PATCH net-next] i40e: add devlink parameter for Flow Director ATR sample rate
From: kernel test robot <hidden>
Date: 2026-06-15 00:43:09
Also in:
intel-wired-lan, llvm, oe-kbuild-all
Hi, kernel test robot noticed the following build errors: [auto build test ERROR on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/mheib-redhat-com/i40e-add-devlink-parameter-for-Flow-Director-ATR-sample-rate/20260615-001257 base: net-next/main patch link: https://lore.kernel.org/r/20260614161131.192068-1-mheib%40redhat.com patch subject: [Intel-wired-lan] [PATCH net-next] i40e: add devlink parameter for Flow Director ATR sample rate config: sparc64-allmodconfig (https://download.01.org/0day-ci/archive/20260615/202606150807.u6hUM8VJ-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/20260615/202606150807.u6hUM8VJ-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 [off-list ref] | Closes: https://lore.kernel.org/oe-kbuild-all/202606150807.u6hUM8VJ-lkp@intel.com/ (local) All errors (new ones prefixed by >>):
quoted
drivers/net/ethernet/intel/i40e/i40e_devlink.c:106:9: error: incompatible function pointer types initializing 'int (*)(struct devlink *, u32, union devlink_param_value *, struct netlink_ext_ack *)' (aka 'int (*)(struct devlink *, unsigned int, union devlink_param_value *, struct netlink_ext_ack *)') with an expression of type 'int (struct devlink *, u32, union devlink_param_value, struct netlink_ext_ack *)' (aka 'int (struct devlink *, unsigned int, union devlink_param_value, struct netlink_ext_ack *)') [-Wincompatible-function-pointer-types]
106 | i40e_atr_sample_rate_validate),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:650:14: note: expanded from macro 'DEVLINK_PARAM_DRIVER'
650 | .validate = _validate, \
| ^~~~~~~~~
1 error generated.
vim +106 drivers/net/ethernet/intel/i40e/i40e_devlink.c
93
94 static const struct devlink_param i40e_dl_params[] = {
95 DEVLINK_PARAM_GENERIC(MAX_MAC_PER_VF,
96 BIT(DEVLINK_PARAM_CMODE_RUNTIME),
97 i40e_max_mac_per_vf_get,
98 i40e_max_mac_per_vf_set,
99 NULL),
100 DEVLINK_PARAM_DRIVER(I40E_DEVLINK_PARAM_ID_ATR_SAMPLE_RATE,
101 "atr_sample_rate",
102 DEVLINK_PARAM_TYPE_U32,
103 BIT(DEVLINK_PARAM_CMODE_RUNTIME),
104 i40e_atr_sample_rate_get,
105 i40e_atr_sample_rate_set,
> 106 i40e_atr_sample_rate_validate),
107 };
108
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki