Hi Heng, 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/Heng-Qi/linux-dim-move-useful-macros-to-h-file/20240415-173921 base: net-next/main patch link: https://lore.kernel.org/r/20240415093638.123962-3-hengqi%40linux.alibaba.com patch subject: [PATCH net-next v7 2/4] ethtool: provide customized dim profile management config: openrisc-defconfig (https://download.01.org/0day-ci/archive/20240415/202404152018.KkOQ39NY-lkp@xxxxxxxxx/config) compiler: or1k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240415/202404152018.KkOQ39NY-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/202404152018.KkOQ39NY-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> net/ethtool/coalesce.c:324:32: warning: 'coalesce_set_profile_policy' defined but not used [-Wunused-const-variable=] 324 | static const struct nla_policy coalesce_set_profile_policy[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/coalesce_set_profile_policy +324 net/ethtool/coalesce.c 323 > 324 static const struct nla_policy coalesce_set_profile_policy[] = { 325 [ETHTOOL_A_MODERATION_USEC] = {.type = NLA_U32}, 326 [ETHTOOL_A_MODERATION_PKTS] = {.type = NLA_U32}, 327 [ETHTOOL_A_MODERATION_COMPS] = {.type = NLA_U32}, 328 }; 329 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki