[linux-next:master 7280/11483] drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c:36:12: error: 'mlx5i_flow_type_mask' defined but not used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   2376e5fe91bcad74b997d2cc0535abff79ec73c5
commit: 9fbe1c25ecca87f1c390d1bfd347df92749941c5 [7280/11483] net/mlx5i: Enable Rx steering for IPoIB via ethtool
config: i386-buildonly-randconfig-r003-20211026 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=9fbe1c25ecca87f1c390d1bfd347df92749941c5
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 9fbe1c25ecca87f1c390d1bfd347df92749941c5
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c:36:12: error: 'mlx5i_flow_type_mask' defined but not used [-Werror=unused-function]
      36 | static u32 mlx5i_flow_type_mask(u32 flow_type)
         |            ^~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/mlx5i_flow_type_mask +36 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c

    35	
  > 36	static u32 mlx5i_flow_type_mask(u32 flow_type)
    37	{
    38		return flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS);
    39	}
    40	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux