Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • kernel
  • audit.c
Find file BlameHistoryPermalink
  • Amol Grover's avatar
    audit: Add __rcu annotation to RCU pointer · cb5172d9
    Amol Grover authored Dec 02, 2019
    
    
    Add __rcu annotation to RCU-protected global pointer auditd_conn.
    
    auditd_conn is an RCU-protected global pointer,i.e., accessed
    via RCU methods rcu_dereference() and rcu_assign_pointer(),
    hence it must be annotated with __rcu for sparse to report
    warnings/errors correctly.
    
    Fix multiple instances of the sparse error:
    error: incompatible types in comparison expression
    (different address spaces)
    
    Reviewed-by: default avatarJoel Fernandes (Google) <joel@joelfernandes.org>
    Signed-off-by: default avatarAmol Grover <frextrite@gmail.com>
    [PM: tweak subject line]
    Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
    cb5172d9
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7