Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • I ipipe-x86
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe-x86
  • Repository
  • ipipe-x86
  • arch
  • powerpc
  • platforms
  • pseries
  • msi.c
Find file BlameHistoryPermalink
  • Michael Ellerman's avatar
    [POWERPC] Simplify rtas_change_msi() error semantics · d385366a
    Michael Ellerman authored Sep 20, 2007
    
    
    Currently rtas_change_msi() returns either the error code from RTAS, or if
    the RTAS call succeeded the number of irqs that were configured by RTAS.
    This makes checking the return value more complicated than it needs to be.
    
    Instead, have rtas_change_msi() check that the number of irqs configured by
    RTAS is equal to what we requested - and return an error otherwise. This makes
    the return semantics match the usual 0 for success, something else for error.
    
    Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    d385366a

Imprint & Privacy Policy