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. Change-Id: I25999f7493094fc92c063d94befc8f475b685c2c Signed-off-by:Christoph Lameter <cl@linux.com> Signed-off-by:
Tejun Heo <tj@kernel.org> Git-commit: abec1a806e0c3cf168999667d5fb6218398ef12a Git-Repo: git://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git Signed-off-by:
Abhimanyu Kapur <abhimany@codeaurora.org>
Loading
Please register or sign in to comment