rtnetlink: fix rtnl_link msghandler rcu annotations
authorFlorian Westphal <fw@strlen.de>
Mon, 4 Dec 2017 21:42:30 +0000 (22:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 16:14:44 +0000 (11:14 -0500)
commitb0e9fe1ba7f8305dc1c640fbeb1b8c5c609e604c
tree000430d7711b1fbe8df6414128ad4c0bc9463a2d
parent7cda4cee1366fae236678a5a6b124bab86b14973
rtnetlink: fix rtnl_link msghandler rcu annotations

Incorrect/missing annotations caused a few sparse warnings:

rtnetlink.c:155:15: incompatible types .. (different address spaces)
rtnetlink.c:157:23: incompatible types .. (different address spaces)
rtnetlink.c:185:15: incompatible types .. (different address spaces)
rtnetlink.c:285:15: incompatible types .. (different address spaces)
rtnetlink.c:317:9: incompatible types .. (different address spaces)
rtnetlink.c:3054:23: incompatible types .. (different address spaces)

no change in generated code.

Fixes: addf9b90de22f7 ("net: rtnetlink: use rcu to free rtnl message handlers")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c