Skip to content
  • Tejun Heo's avatar
    percpu: make accessors check for percpu pointer in sparse · 545695fb
    Tejun Heo authored
    
    
    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: default avatarTejun Heo <tj@kernel.org>
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    545695fb