[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202507051125.6hx5EsC9-lkp@intel.com>
Date: Sat, 5 Jul 2025 11:24:12 +0800
From: kernel test robot <lkp@...el.com>
To: Jakub Kicinski <kuba@...nel.org>, davem@...emloft.net
Cc: oe-kbuild-all@...ts.linux.dev, netdev@...r.kernel.org,
edumazet@...gle.com, pabeni@...hat.com, andrew+netdev@...n.ch,
horms@...nel.org, andrew@...n.ch, przemyslaw.kitszel@...el.com,
anthony.l.nguyen@...el.com, sgoutham@...vell.com,
gakula@...vell.com, sbhatta@...vell.com, bbhushan2@...vell.com,
tariqt@...dia.com, mbloch@...dia.com, leon@...nel.org,
gal@...dia.com, ecree.xilinx@...il.com,
Jakub Kicinski <kuba@...nel.org>
Subject: Re: [PATCH net-next v2 3/5] eth: mlx5: migrate to the *_rxfh_context
ops
Hi Jakub,
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Jakub-Kicinski/eth-otx2-migrate-to-the-_rxfh_context-ops/20250702-110737
base: net-next/main
patch link: https://lore.kernel.org/r/20250702030606.1776293-4-kuba%40kernel.org
patch subject: [PATCH net-next v2 3/5] eth: mlx5: migrate to the *_rxfh_context ops
config: arc-allmodconfig (https://download.01.org/0day-ci/archive/20250705/202507051125.6hx5EsC9-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250705/202507051125.6hx5EsC9-lkp@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507051125.6hx5EsC9-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/net/ethernet/mellanox/mlx5/core/en/rss.c: In function 'mlx5e_rss_get_rxfh':
>> drivers/net/ethernet/mellanox/mlx5/core/en/rss.c:587:16: error: 'return' with a value, in function returning void [-Wreturn-mismatch]
587 | return 0;
| ^
drivers/net/ethernet/mellanox/mlx5/core/en/rss.c:570:6: note: declared here
570 | void mlx5e_rss_get_rxfh(struct mlx5e_rss *rss, u32 *indir, u8 *key, u8 *hfunc,
| ^~~~~~~~~~~~~~~~~~
vim +/return +587 drivers/net/ethernet/mellanox/mlx5/core/en/rss.c
25307a91cb50a0 Tariq Toukan 2021-08-16 569
540d484b812cad Jakub Kicinski 2025-07-01 570 void mlx5e_rss_get_rxfh(struct mlx5e_rss *rss, u32 *indir, u8 *key, u8 *hfunc,
540d484b812cad Jakub Kicinski 2025-07-01 571 bool *symmetric)
25307a91cb50a0 Tariq Toukan 2021-08-16 572 {
25307a91cb50a0 Tariq Toukan 2021-08-16 573 if (indir)
cae8e6dea27923 Adham Faris 2023-10-12 574 memcpy(indir, rss->indir.table,
74a8dadac17e2b Adham Faris 2023-10-12 575 rss->indir.actual_table_size * sizeof(*rss->indir.table));
25307a91cb50a0 Tariq Toukan 2021-08-16 576
25307a91cb50a0 Tariq Toukan 2021-08-16 577 if (key)
25307a91cb50a0 Tariq Toukan 2021-08-16 578 memcpy(key, rss->hash.toeplitz_hash_key,
25307a91cb50a0 Tariq Toukan 2021-08-16 579 sizeof(rss->hash.toeplitz_hash_key));
25307a91cb50a0 Tariq Toukan 2021-08-16 580
25307a91cb50a0 Tariq Toukan 2021-08-16 581 if (hfunc)
25307a91cb50a0 Tariq Toukan 2021-08-16 582 *hfunc = rss->hash.hfunc;
25307a91cb50a0 Tariq Toukan 2021-08-16 583
4d20c9f2db83a0 Gal Pressman 2025-02-24 584 if (symmetric)
4d20c9f2db83a0 Gal Pressman 2025-02-24 585 *symmetric = rss->hash.symmetric;
4d20c9f2db83a0 Gal Pressman 2025-02-24 586
25307a91cb50a0 Tariq Toukan 2021-08-16 @587 return 0;
25307a91cb50a0 Tariq Toukan 2021-08-16 588 }
25307a91cb50a0 Tariq Toukan 2021-08-16 589
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists