summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/device.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-11-18 09:53:21 +0100
committerTejun Heo <tj@kernel.org>2009-12-08 02:28:50 +0100
commit85438592f179c126ad4cb9a280046d4f0a501e6d (patch)
treea2c9c86326db44d453d4047604974584b802cf3e /arch/powerpc/include/asm/device.h
parentpercpu: make accessors check for percpu pointer in sparse (diff)
downloadlinux-85438592f179c126ad4cb9a280046d4f0a501e6d.tar.xz
linux-85438592f179c126ad4cb9a280046d4f0a501e6d.zip
percpu: remove compile warnings caused by __verify_pcpu_ptr()
If percpu pointer is const, __verify_pcpu_ptr() triggers warnings like the following. drivers/net/loopback.c: In function 'loopback_get_stats': drivers/net/loopback.c:109: warning: initialization discards qualifiers from pointer target type Fix it by adding const to the verification target pointer used in __verify_pcpu_ptr(). Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/powerpc/include/asm/device.h')
0 files changed, 0 insertions, 0 deletions