Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • 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
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • arch
  • i386
  • kernel
  • vmi.c
Find file BlameHistoryPermalink
  • Zachary Amsden's avatar
    Fix VMI relocation processing logic error · 0492c371
    Zachary Amsden authored Apr 12, 2007
    
    
    Fix logic error in VMI relocation processing.  NOPs would always cause
    a BUG_ON to fire because the != RELOCATION_NONE in the first if clause
    precluding the == VMI_RELOCATION_NOP in the second clause.  Make these
    direct equality tests and just warn for unsupported relocation types
    (which should never happen), falling back to native in that case.
    
    Thanks to Anthony Liguori for noting this!
    
    Signed-off-by: default avatarZachary Amsden <zach@vmware.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    0492c371