]> err.no Git - linux-2.6/commit
Fix sparse errors in drivers/net/ibmveth.c
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 17 Apr 2007 03:12:55 +0000 (13:12 +1000)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 15:01:05 +0000 (11:01 -0400)
commit493a684ab8af36173e54ee9a102ed1768991f78a
treee4e27a4683fe216b58917fffe9d45290abca7b7f
parentc2bcf00b437805b3c13374a4c4c8b6af646bdc2f
Fix sparse errors in drivers/net/ibmveth.c

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: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ibmveth.c