Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 787b5320 authored by Christoph Lameter's avatar Christoph Lameter Committed by Abhimanyu Kapur
Browse files

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: default avatarChristoph Lameter <cl@linux.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Git-commit: abec1a806e0c3cf168999667d5fb6218398ef12a
Git-Repo: git://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarAbhimanyu Kapur <abhimany@codeaurora.org>
parent e3433514
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment