From: kernel test robot <lkp@intel.com>
To: Frank Wunderlich <frank-w@public-files.de>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [frank-w-bpi-r2-4.14:7.1-rc 0/167] drivers/net/bareudp.c:288:12: sparse: sparse: incorrect type in assignment (different address spaces)
Date: Fri, 03 Jul 2026 19:50:45 +0800 [thread overview]
Message-ID: <202607031901.7dWzEObt-lkp@intel.com> (raw)
tree: https://github.com/frank-w/BPI-R2-4.14 7.1-rc
head: 866eb49750d39fe938dca71acece6f1540bb1123
commit: bc773b15eb19ae3e27dd3a3377f2fe006ce5f382 [0/167] bareudp: Store struct sock in struct bareudp_dev.
config: i386-randconfig-062-20260702 (https://download.01.org/0day-ci/archive/20260703/202607031901.7dWzEObt-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260703/202607031901.7dWzEObt-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
| Fixes: bc773b15eb19 ("bareudp: Store struct sock in struct bareudp_dev.")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607031901.7dWzEObt-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/net/bareudp.c:288:12: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sock *sk @@ got struct sock [noderef] __rcu *sk @@
drivers/net/bareudp.c:288:12: sparse: expected struct sock *sk
drivers/net/bareudp.c:288:12: sparse: got struct sock [noderef] __rcu *sk
drivers/net/bareudp.c:623:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __be16 [usertype] port @@ got unsigned short @@
drivers/net/bareudp.c:623:20: sparse: expected restricted __be16 [usertype] port
drivers/net/bareudp.c:623:20: sparse: got unsigned short
drivers/net/bareudp.c:624:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __be16 [usertype] ethertype @@ got unsigned short @@
drivers/net/bareudp.c:624:25: sparse: expected restricted __be16 [usertype] ethertype
drivers/net/bareudp.c:624:25: sparse: got unsigned short
vim +288 drivers/net/bareudp.c
283
284 static void bareudp_sock_release(struct bareudp_dev *bareudp)
285 {
286 struct sock *sk;
287
> 288 sk = bareudp->sk;
289 rcu_assign_pointer(bareudp->sk, NULL);
290 synchronize_net();
291 udp_tunnel_sock_release(sk);
292 }
293
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-07-03 11:51 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=202607031901.7dWzEObt-lkp@intel.com \
--to=lkp@intel.com \
--cc=frank-w@public-files.de \
--cc=oe-kbuild-all@lists.linux.dev \
/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.