Message ID | 20240624082945.1925009-1-jchapman@katalix.com (mailing list archive) |
---|---|
State | Accepted |
Commit | a8a8d89dbd2bd2b762b6d0226a1201ec33f7aeac |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] l2tp: remove incorrect __rcu attribute | expand |
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Mon, 24 Jun 2024 09:29:45 +0100 you wrote: > This fixes a sparse warning. > > Fixes: d18d3f0a24fc ("l2tp: replace hlist with simple list for per-tunnel session list") > Reported-by: kernel test robot <lkp@intel.com> > Closes: https://lore.kernel.org/oe-kbuild-all/202406220754.evK8Hrjw-lkp@intel.com/ > Signed-off-by: James Chapman <jchapman@katalix.com> > > [...] Here is the summary with links: - [net-next] l2tp: remove incorrect __rcu attribute https://git.kernel.org/netdev/net-next/c/a8a8d89dbd2b You are awesome, thank you!
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c index be4bcbf291a1..64f446f0930b 100644 --- a/net/l2tp/l2tp_core.c +++ b/net/l2tp/l2tp_core.c @@ -1290,7 +1290,7 @@ static void l2tp_session_unhash(struct l2tp_session *session) static void l2tp_tunnel_closeall(struct l2tp_tunnel *tunnel) { struct l2tp_session *session; - struct list_head __rcu *pos; + struct list_head *pos; struct list_head *tmp; spin_lock_bh(&tunnel->list_lock);
This fixes a sparse warning. Fixes: d18d3f0a24fc ("l2tp: replace hlist with simple list for per-tunnel session list") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202406220754.evK8Hrjw-lkp@intel.com/ Signed-off-by: James Chapman <jchapman@katalix.com> --- net/l2tp/l2tp_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)