From: Alexandru Copot Date: Thu, 28 Mar 2013 21:31:29 +0000 (+0200) Subject: audit: pass int* to nlmsg_next X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~275 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2851da57036f4242df344eb60735670211ee7562;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed