• Michael Ellerman's avatar
    Fix sparse errors in drivers/net/ibmveth.c · 493a684a
    Michael Ellerman authored
    drivers/net/ibmveth.c:96:46: error: marked inline, but without a definition
    drivers/net/ibmveth.c:96: warning: 'ibmveth_rxq_harvest_buffer' declared inline after being called
    drivers/net/ibmveth.c:96: warning: previous declaration of 'ibmveth_rxq_harvest_buffer' was here
    
    Just let the compiler decide, as it happens gcc 4.~ inlines it anyway.
    
    drivers/net/ibmveth.c:957:71: warning: Using plain integer as NULL pointer
    drivers/net/ibmveth.c:964:85: warning: Using plain integer as NULL pointer
    
    Split the long lines as well, ugly, but < 80 columns.
    Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    493a684a
ibmveth.c 39.9 KB