percpu: Make __verify_pcu_ptr handle per cpu pointers to arrays
authorChristoph Lameter <cl@linux.com>
Fri, 23 Aug 2013 19:01:58 +0000 (19:01 +0000)
committerTejun Heo <tj@kernel.org>
Fri, 23 Aug 2013 20:08:27 +0000 (16:08 -0400)
__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>

No differences found