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
  • scripts
  • mod
  • modpost.c
Find file BlameHistoryPermalink
  • Quentin Casasnovas's avatar
    modpost: fix inverted logic in is_extable_fault_address(). · d3df4de7
    Quentin Casasnovas authored Apr 16, 2015
    
    
    As Guenter pointed out, we want to assert that extable_entry_size has been
    discovered and not the other way around.  Moreover, this sanity check is
    only valid when we're not dealing with the first relocation in __ex_table,
    since we have not discovered the extable entry size at that point.
    
    This was leading to a divide-by-zero on some architectures and make the
    build fail.
    
    Signed-off-by: default avatarQuentin Casasnovas <quentin.casasnovas@oracle.com>
    Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
    CC: Rusty Russell <rusty@rustcorp.com.au>
    Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    d3df4de7
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7