• Brice Goglin's avatar
    [PATCH] myri10ge return value fix · 4c2248cc
    Brice Goglin authored
    Andrew Morton wrote:
    >   All these functions return error codes, and we're not checking them.  We
    >   should.  So there's a patch which marks all these things as __must_check,
    >   which causes around 1,500 new warnings.
    >
    
    The following patch fixes such a warning in myri10ge.
    
    Check pci_enable_device() return value in myri10ge_resume().
    Signed-off-by: default avatarBrice Goglin <brice@myri.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    4c2248cc
myri10ge.c 79.6 KB