linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [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
@ 2021-10-27  0:26 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-27  0:26 UTC (permalink / raw)
  To: Moosa Baransi
  Cc: kbuild-all, Linux Memory Management List, Saeed Mahameed, Tariq Toukan

[-- Attachment #1: Type: text/plain, Size: 1610 bytes --]

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@intel.com>

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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 47470 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-27  0:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27  0:26 [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 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