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
  • lib
  • debugobjects.c
Find file BlameHistoryPermalink
  • Stephen Boyd's avatar
    debugobjects: Fix selftest for static warnings · 9f78ff00
    Stephen Boyd authored Mar 05, 2012
    
    
    debugobjects is now printing a warning when a fixup for a NOTAVAILABLE
    object is run.  This causes the selftest to fail like:
    
    	ODEBUG: selftest warnings failed 4 != 5
    
    We could just increase the number of warnings that the selftest is
    expecting to see because that is actually what has changed.  But, it turns
    out that fixup_activate() was written with inverted logic and thus a fixup
    for a static object returned 1 indicating the object had been fixed, and 0
    otherwise.  Fix the logic to be correct and update the counts to reflect
    that nothing needed fixing for a static object.
    
    Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
    Reported-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    9f78ff00
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7