CC: [email protected]
CC: [email protected]
TO: "Gustavo A. R. Silva" <[email protected]>
CC: Saeed Mahameed <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   e4c26faa426c17274884f759f708bc9ee22fd59a
commit: c8b838d108bca05d759f0131db960ddf305cc255 net/mlx5: Use fallthrough 
pseudo-keyword
date:   7 weeks ago
:::::: branch date: 6 hours ago
:::::: commit date: 7 weeks ago
config: powerpc-randconfig-m031-20200911 (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

smatch warnings:
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c:246 
mlx5e_ethtool_get_sset_count() warn: ignoring unreachable code.

# 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c8b838d108bca05d759f0131db960ddf305cc255
git remote add linus 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout c8b838d108bca05d759f0131db960ddf305cc255
vim +246 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c

8ff57c18e9f6b03 Tariq Toukan        2018-11-19  236  
076b0936e5fb8dd Erez Shitrit        2017-05-15  237  int 
mlx5e_ethtool_get_sset_count(struct mlx5e_priv *priv, int sset)
f62b8bb8f2d3058 Amir Vadai          2015-05-28  238  {
f62b8bb8f2d3058 Amir Vadai          2015-05-28  239     switch (sset) {
f62b8bb8f2d3058 Amir Vadai          2015-05-28  240     case ETH_SS_STATS:
3460c184dfb0b41 Saeed Mahameed      2020-01-20  241             return 
mlx5e_stats_total_num(priv);
4e59e2888139018 Gal Pressman        2016-06-23  242     case ETH_SS_PRIV_FLAGS:
8ff57c18e9f6b03 Tariq Toukan        2018-11-19  243             return 
MLX5E_NUM_PFLAGS;
d605d6686dc7e7c Kamal Heib          2016-11-27  244     case ETH_SS_TEST:
d605d6686dc7e7c Kamal Heib          2016-11-27  245             return 
mlx5e_self_test_num(priv);
c8b838d108bca05 Gustavo A. R. Silva 2020-07-27 @246             fallthrough;
f62b8bb8f2d3058 Amir Vadai          2015-05-28  247     default:
f62b8bb8f2d3058 Amir Vadai          2015-05-28  248             return 
-EOPNOTSUPP;
f62b8bb8f2d3058 Amir Vadai          2015-05-28  249     }
f62b8bb8f2d3058 Amir Vadai          2015-05-28  250  }
f62b8bb8f2d3058 Amir Vadai          2015-05-28  251  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to