commit | 545695fb41da117928ab946067a42d9e15fd009d | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Thu Oct 29 22:34:15 2009 +0900 |
committer | Tejun Heo <tj@kernel.org> | Thu Oct 29 22:34:15 2009 +0900 |
tree | 1ea32c45a6f6efb03a88f99278f065054a5de3e2 | |
parent | e0fdb0e050eae331046385643618f12452aa7e73 [diff] |
percpu: make accessors check for percpu pointer in sparse The previous patch made sparse warn about percpu variables being used directly without going through percpu accessors. This patch implements the other half - checking whether non percpu variable is passed into percpu accessors. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Al Viro <viro@zeniv.linux.org.uk>