From: kernel test robot <lkp@intel.com>
To: Moosa Baransi <moosab@nvidia.com>
Cc: kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Saeed Mahameed <saeedm@nvidia.com>,
Tariq Toukan <tariqt@nvidia.com>
Subject: [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: Wed, 27 Oct 2021 08:26:27 +0800 [thread overview]
Message-ID: <202110270823.hHVPrYGZ-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-10-27 0:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202110270823.hHVPrYGZ-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=moosab@nvidia.com \
--cc=saeedm@nvidia.com \
--cc=tariqt@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox