From: David S. Miller Date: Fri, 23 Dec 2011 22:33:03 +0000 (-0500) Subject: netlink: Undo const marker in netlink_is_kernel(). X-Git-Tag: v3.3-rc1~182^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=035c4c16bea2814890c64c657d177e91cec1f473;p=pandora-kernel.git netlink: Undo const marker in netlink_is_kernel(). We can't do this without propagating the const to nlk_sk() too, otherwise: net/netlink/af_netlink.c: In function ‘netlink_is_kernel’: net/netlink/af_netlink.c:103:2: warning: passing argument 1 of ‘nlk_sk’ discards ‘const’ qualifier from pointer target type [enabled by default] net/netlink/af_netlink.c:96:36: note: expected ‘struct sock *’ but argument is of type ‘const struct sock *’ Signed-off-by: David S. Miller --- Reading git-diff-tree failed