summaryrefslogtreecommitdiffstats
path: root/net/ieee802154/netlink.c
diff options
context:
space:
mode:
authorAlexandru Copot <alex.mihai.c@gmail.com>2013-03-28 23:31:29 +0200
committerDavid S. Miller <davem@davemloft.net>2013-03-28 17:40:08 -0400
commit2851da57036f4242df344eb60735670211ee7562 (patch)
tree198febc3b2baa9f3337832daec880ac331723975 /net/ieee802154/netlink.c
parentc60ee67f45b3aa5dfbfe39bfe0b9e65459dc5ec7 (diff)
downloadop-kernel-dev-2851da57036f4242df344eb60735670211ee7562.zip
op-kernel-dev-2851da57036f4242df344eb60735670211ee7562.tar.gz
audit: pass int* to nlmsg_next
Commit 941912133025926307c7a65b203fa38403b1063a replaced the macros NLMSG_NEXT with calls to nlmsg_next which produces this warning: kernel/audit.c: In function ‘audit_receive_skb’: kernel/audit.c:928:3: warning: passing argument 2 of ‘nlmsg_next’ makes pointer from integer without a cast In file included from include/net/rtnetlink.h:5:0, from include/net/neighbour.h:28, from include/net/dst.h:17, from include/net/sock.h:68, from kernel/audit.c:55: include/net/netlink.h:359:1: note: expected ‘int *’ but argument is of type ‘int’ Fix this by sending the intended pointer. Signed-off-by: Alexandru Copot <alex.mihai.c@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154/netlink.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud