* [pablo-gtp:main 5/12] drivers/net/gtp.c:139:43: sparse: sparse: incorrect type in argument 1 (different base types)
@ 2024-04-25 11:23 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-25 11:23 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/gtp.git main
head: 1c0b778c54746b870a5297339ca36a43ed8fc701
commit: e97b19f501aaa49c0f420b0a9e0a7943adf2abd3 [5/12] gtp: use IPv6 address /64 prefix for UE/MS
config: loongarch-randconfig-r122-20240425 (https://download.01.org/0day-ci/archive/20240425/202404251943.SyUDNEIS-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240425/202404251943.SyUDNEIS-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404251943.SyUDNEIS-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/net/gtp.c:139:43: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] a @@ got restricted __be32 const @@
drivers/net/gtp.c:139:43: sparse: expected unsigned int [usertype] a
drivers/net/gtp.c:139:43: sparse: got restricted __be32 const
>> drivers/net/gtp.c:139:62: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected unsigned int [usertype] b @@ got restricted __be32 const @@
drivers/net/gtp.c:139:62: sparse: expected unsigned int [usertype] b
drivers/net/gtp.c:139:62: sparse: got restricted __be32 const
drivers/net/gtp.c: note: in included file (through include/linux/module.h):
include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
>> drivers/net/gtp.c:139:43: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] a @@ got restricted __be32 const @@
drivers/net/gtp.c:139:43: sparse: expected unsigned int [usertype] a
drivers/net/gtp.c:139:43: sparse: got restricted __be32 const
>> drivers/net/gtp.c:139:62: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected unsigned int [usertype] b @@ got restricted __be32 const @@
drivers/net/gtp.c:139:62: sparse: expected unsigned int [usertype] b
drivers/net/gtp.c:139:62: sparse: got restricted __be32 const
vim +139 drivers/net/gtp.c
136
137 static inline u32 ipv6_hashfn(const struct in6_addr *ip6)
138 {
> 139 return jhash_2words(ip6->s6_addr32[0], ip6->s6_addr32[1], gtp_h_initval);
140 }
141
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-25 11:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-25 11:23 [pablo-gtp:main 5/12] drivers/net/gtp.c:139:43: sparse: sparse: incorrect type in argument 1 (different base types) 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.