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>
Fri, 4 Apr 2014 21:24:53 +0000 (22:24 +0100)
commitf91941863d0f0d5ddba5bd57de61f0accb35da6b
treecc0f24030a8325d878f7fc0289f4a290b9ed11a1
parentd434cd472d246a00480d710c9facf528208604e0
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