All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

  • Greg Thelen's avatar
    PCI: handle positive error codes · 34e32072
    Greg Thelen authored
    Callers expect pci_user_{read,write}_config_*() to indicate errors by
    returning negative values.  Prior to this change, the indicated routines
    could return positive error codes (e.g. PCIBIOS_BAD_REGISTER_NUMBER)
    which callers would mistakenly interpret as success.
    
    This change converts any non-zero return from the mentioned routines
    into unambiguous negative value return codes.
    Signed-off-by: default avatarGreg Thelen <gthelen@google.com>
    Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
    34e32072
access.c 10.8 KB