commit | 85438592f179c126ad4cb9a280046d4f0a501e6d | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Wed Nov 18 17:53:21 2009 +0900 |
committer | Tejun Heo <tj@kernel.org> | Tue Dec 08 10:28:50 2009 +0900 |
tree | a2c9c86326db44d453d4047604974584b802cf3e | |
parent | 545695fb41da117928ab946067a42d9e15fd009d [diff] |
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>