net: ipv6: Add missing const to ipv6_chk_addr
authorMark Brown <broonie@linaro.org>
Fri, 4 Apr 2014 12:23:54 +0000 (13:23 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 8 Apr 2014 18:51:30 +0000 (19:51 +0100)
commitc114eb1c2973f47f9eec02ddfe9955c333483014
treef0146bfb07b8de8e4fd7eaef11decb8b9d1cc443
parent943550a24c51bdd971f579200f286241548deaf7
net: ipv6: Add missing const to ipv6_chk_addr

The net_device used by ipv6_chk_addr is const in some users so add a
const here, fixing a warning following mainline commit 6bc19fb82d4c05
(Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net) from
David S. Miller.

Signed-off-by: Mark Brown <broonie@linaro.org>
include/net/ping.h
net/ipv6/ping.c