summaryrefslogtreecommitdiffstats
path: root/net/core/net-sysfs.c
diff options
context:
space:
mode:
authorDavid S. Miller2011-12-23 23:33:03 +0100
committerDavid S. Miller2011-12-23 23:33:03 +0100
commit035c4c16bea2814890c64c657d177e91cec1f473 (patch)
tree102e3e98051509697f677190d25946f87139aec7 /net/core/net-sysfs.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadkernel-qcow2-linux-035c4c16bea2814890c64c657d177e91cec1f473.tar.gz
kernel-qcow2-linux-035c4c16bea2814890c64c657d177e91cec1f473.tar.xz
kernel-qcow2-linux-035c4c16bea2814890c64c657d177e91cec1f473.zip
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 <davem@davemloft.net>
Diffstat (limited to 'net/core/net-sysfs.c')
0 files changed, 0 insertions, 0 deletions