From: kernel test robot <lkp@intel.com>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [pablo-gtp:main 5/12] drivers/net/gtp.c:139:43: sparse: sparse: incorrect type in argument 1 (different base types)
Date: Thu, 25 Apr 2024 19:23:15 +0800 [thread overview]
Message-ID: <202404251943.SyUDNEIS-lkp@intel.com> (raw)
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
reply other threads:[~2024-04-25 11:23 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=202404251943.SyUDNEIS-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pablo@netfilter.org \
/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 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.