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)
committerJohn Stultz <john.stultz@linaro.org>
Fri, 4 Apr 2014 23:24:04 +0000 (16:24 -0700)
commit5b6f114c99c467032588183c299f9299476504dc
tree351acc9c3477ebeae8986587cf53bdf6de3ded08
parent7c0084dc990637bc6cc4eeccf9870dc834749220
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.

Change-Id: Iebfae34fc9f10f958c41aad6ac4008d61668a870
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Sherman Yin <syin@broadcom.com>
[Folded in additional const fix to the dummy function from Sherman Yin]
Signed-off-by: John Stultz <john.stultz@linaro.org>
include/net/ping.h
net/ipv6/ping.c