diff options
author | Christoph Lameter <cl@linux.com> | 2013-08-23 19:01:58 +0000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-08-23 16:08:27 -0400 |
commit | abec1a806e0c3cf168999667d5fb6218398ef12a (patch) | |
tree | 167e441fc26b6b404366d0310e41e32f52869ec6 /lib/genalloc.c | |
parent | a4244454df1296e90cc961c1b636b1176ef0d9a0 (diff) | |
download | linux-abec1a806e0c3cf168999667d5fb6218398ef12a.tar.bz2 |
percpu: Make __verify_pcu_ptr handle per cpu pointers to arrays
__verify_pcpu_ptr() will cause a compilation failure if the type of the
pointer is a pointer to a fixed array of objects. Adding zero to the
pointer converts the type of pointer to that pointing to a single
object of the array.
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions