* drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c:199:6: sparse: void extern [addressable] [toplevel] hclge_comm_get_rss_indir_tbl( ... )
@ 2022-03-03 9:59 kernel test robot
2022-03-09 3:15 ` kernel test robot
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2022-03-03 9:59 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 3653 bytes --]
CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Jie Wang <wangjie125@huawei.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5859a2b1991101d6b978f3feb5325dad39421f29
commit: 6de06004286798ac4b4b10c8c74a6eb03c5035f2 net: hns3: create new set of common rss set APIs for PF and VF module
date: 8 weeks ago
:::::: branch date: 10 hours ago
:::::: commit date: 8 weeks ago
config: ia64-randconfig-s031-20220303 (https://download.01.org/0day-ci/archive/20220303/202203031716.K3CfFyZP-lkp(a)intel.com/config)
compiler: ia64-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6de06004286798ac4b4b10c8c74a6eb03c5035f2
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 6de06004286798ac4b4b10c8c74a6eb03c5035f2
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/net/ethernet/hisilicon/hns3/ drivers/net/wwan/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c:199:6: sparse: sparse: symbol 'hclge_comm_get_rss_indir_tbl' redeclared with different type (incompatible argument 3 (different base types)):
>> drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c:199:6: sparse: void extern [addressable] [toplevel] hclge_comm_get_rss_indir_tbl( ... )
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c: note: in included file:
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.h:94:6: sparse: note: previously declared as:
>> drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.h:94:6: sparse: void extern [addressable] [toplevel] hclge_comm_get_rss_indir_tbl( ... )
vim +199 drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c
1bfd6682e9b5d4 Jie Wang 2022-01-05 198
1bfd6682e9b5d4 Jie Wang 2022-01-05 @199 void hclge_comm_get_rss_indir_tbl(struct hclge_comm_rss_cfg *rss_cfg,
1bfd6682e9b5d4 Jie Wang 2022-01-05 200 u32 *indir, u16 rss_ind_tbl_size)
1bfd6682e9b5d4 Jie Wang 2022-01-05 201 {
1bfd6682e9b5d4 Jie Wang 2022-01-05 202 u16 i;
1bfd6682e9b5d4 Jie Wang 2022-01-05 203
1bfd6682e9b5d4 Jie Wang 2022-01-05 204 if (!indir)
1bfd6682e9b5d4 Jie Wang 2022-01-05 205 return;
1bfd6682e9b5d4 Jie Wang 2022-01-05 206
1bfd6682e9b5d4 Jie Wang 2022-01-05 207 for (i = 0; i < rss_ind_tbl_size; i++)
1bfd6682e9b5d4 Jie Wang 2022-01-05 208 indir[i] = rss_cfg->rss_indirection_tbl[i];
1bfd6682e9b5d4 Jie Wang 2022-01-05 209 }
1bfd6682e9b5d4 Jie Wang 2022-01-05 210
:::::: The code at line 199 was first introduced by commit
:::::: 1bfd6682e9b5d42d07fa986709c9df88b18f9bc3 net: hns3: create new set of common rss get APIs for PF and VF rss module
:::::: TO: Jie Wang <wangjie125@huawei.com>
:::::: CC: David S. Miller <davem@davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c:199:6: sparse: void extern [addressable] [toplevel] hclge_comm_get_rss_indir_tbl( ... )
2022-03-03 9:59 drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c:199:6: sparse: void extern [addressable] [toplevel] hclge_comm_get_rss_indir_tbl( ... ) kernel test robot
@ 2022-03-09 3:15 ` kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-03-09 3:15 UTC (permalink / raw)
To: Jie Wang; +Cc: kbuild-all, Linux Kernel Mailing List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5859a2b1991101d6b978f3feb5325dad39421f29
commit: 6de06004286798ac4b4b10c8c74a6eb03c5035f2 net: hns3: create new set of common rss set APIs for PF and VF module
date: 8 weeks ago
config: ia64-randconfig-s031-20220303 (https://download.01.org/0day-ci/archive/20220303/202203031716.K3CfFyZP-lkp@intel.com/config)
compiler: ia64-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6de06004286798ac4b4b10c8c74a6eb03c5035f2
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 6de06004286798ac4b4b10c8c74a6eb03c5035f2
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/net/ethernet/hisilicon/hns3/ drivers/net/wwan/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <yujie.liu@intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c:199:6: sparse: sparse: symbol 'hclge_comm_get_rss_indir_tbl' redeclared with different type (incompatible argument 3 (different base types)):
>> drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c:199:6: sparse: void extern [addressable] [toplevel] hclge_comm_get_rss_indir_tbl( ... )
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c: note: in included file:
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.h:94:6: sparse: note: previously declared as:
>> drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.h:94:6: sparse: void extern [addressable] [toplevel] hclge_comm_get_rss_indir_tbl( ... )
vim +199 drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c
1bfd6682e9b5d4 Jie Wang 2022-01-05 198
1bfd6682e9b5d4 Jie Wang 2022-01-05 @199 void hclge_comm_get_rss_indir_tbl(struct hclge_comm_rss_cfg *rss_cfg,
1bfd6682e9b5d4 Jie Wang 2022-01-05 200 u32 *indir, u16 rss_ind_tbl_size)
1bfd6682e9b5d4 Jie Wang 2022-01-05 201 {
1bfd6682e9b5d4 Jie Wang 2022-01-05 202 u16 i;
1bfd6682e9b5d4 Jie Wang 2022-01-05 203
1bfd6682e9b5d4 Jie Wang 2022-01-05 204 if (!indir)
1bfd6682e9b5d4 Jie Wang 2022-01-05 205 return;
1bfd6682e9b5d4 Jie Wang 2022-01-05 206
1bfd6682e9b5d4 Jie Wang 2022-01-05 207 for (i = 0; i < rss_ind_tbl_size; i++)
1bfd6682e9b5d4 Jie Wang 2022-01-05 208 indir[i] = rss_cfg->rss_indirection_tbl[i];
1bfd6682e9b5d4 Jie Wang 2022-01-05 209 }
1bfd6682e9b5d4 Jie Wang 2022-01-05 210
vim +108 drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.h
1bfd6682e9b5d (Jie Wang 2022-01-05 22:20:03 +0800 108) void hclge_comm_get_rss_indir_tbl(struct hclge_comm_rss_cfg *rss_cfg,
6de0600428679 (Jie Wang 2022-01-05 22:20:06 +0800 109) u32 *indir, __le16 rss_ind_tbl_size);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c:199:6: sparse: void extern [addressable] [toplevel] hclge_comm_get_rss_indir_tbl( ... )
@ 2022-03-11 15:55 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-03-11 15:55 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 3632 bytes --]
CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Jie Wang <wangjie125@huawei.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 79b00034e9dcd2b065c1665c8b42f62b6b80a9be
commit: 6de06004286798ac4b4b10c8c74a6eb03c5035f2 net: hns3: create new set of common rss set APIs for PF and VF module
date: 9 weeks ago
:::::: branch date: 11 hours ago
:::::: commit date: 9 weeks ago
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20220311/202203112351.77JbPTvt-lkp(a)intel.com/config)
compiler: powerpc-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6de06004286798ac4b4b10c8c74a6eb03c5035f2
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 6de06004286798ac4b4b10c8c74a6eb03c5035f2
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/net/ethernet/hisilicon/hns3/ drivers/vdpa/mlx5/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c:199:6: sparse: sparse: symbol 'hclge_comm_get_rss_indir_tbl' redeclared with different type (incompatible argument 3 (different base types)):
>> drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c:199:6: sparse: void extern [addressable] [toplevel] hclge_comm_get_rss_indir_tbl( ... )
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c: note: in included file:
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.h:94:6: sparse: note: previously declared as:
>> drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.h:94:6: sparse: void extern [addressable] [toplevel] hclge_comm_get_rss_indir_tbl( ... )
vim +199 drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c
1bfd6682e9b5d4 Jie Wang 2022-01-05 198
1bfd6682e9b5d4 Jie Wang 2022-01-05 @199 void hclge_comm_get_rss_indir_tbl(struct hclge_comm_rss_cfg *rss_cfg,
1bfd6682e9b5d4 Jie Wang 2022-01-05 200 u32 *indir, u16 rss_ind_tbl_size)
1bfd6682e9b5d4 Jie Wang 2022-01-05 201 {
1bfd6682e9b5d4 Jie Wang 2022-01-05 202 u16 i;
1bfd6682e9b5d4 Jie Wang 2022-01-05 203
1bfd6682e9b5d4 Jie Wang 2022-01-05 204 if (!indir)
1bfd6682e9b5d4 Jie Wang 2022-01-05 205 return;
1bfd6682e9b5d4 Jie Wang 2022-01-05 206
1bfd6682e9b5d4 Jie Wang 2022-01-05 207 for (i = 0; i < rss_ind_tbl_size; i++)
1bfd6682e9b5d4 Jie Wang 2022-01-05 208 indir[i] = rss_cfg->rss_indirection_tbl[i];
1bfd6682e9b5d4 Jie Wang 2022-01-05 209 }
1bfd6682e9b5d4 Jie Wang 2022-01-05 210
:::::: The code at line 199 was first introduced by commit
:::::: 1bfd6682e9b5d42d07fa986709c9df88b18f9bc3 net: hns3: create new set of common rss get APIs for PF and VF rss module
:::::: TO: Jie Wang <wangjie125@huawei.com>
:::::: CC: David S. Miller <davem@davemloft.net>
---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-03-11 15:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-03 9:59 drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c:199:6: sparse: void extern [addressable] [toplevel] hclge_comm_get_rss_indir_tbl( ... ) kernel test robot
2022-03-09 3:15 ` kernel test robot
2022-03-11 15:55 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.