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
  • linux
  • drivers
  • base
  • attribute_container.c
Find file BlameHistoryPermalink
  • James Bottomley's avatar
    [SCSI] attirbute_container: Initialize sysfs attributes with sysfs_attr_init · ebd09ec9
    James Bottomley authored Mar 20, 2010
    
    
    All of the SCSI transport classes are suddenly spitting lockdep
    warnings.  According to Eric Biderman this is because lockdep needs
    static initialisers and the attribute container way of doing things
    end up with dynamic sysfs attributes.  Fix this by calling
    sysfs_attr_init which sets the lockdep key correctly.
    
    Tested-by: default avatarChristof Schmitt <christof.schmitt@de.ibm.com>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
    ebd09ec9
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7