]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] chelsio: transmit routine return values
authorStephen Hemminger <shemminger@osdl.org>
Wed, 14 Dec 2005 22:38:44 +0000 (14:38 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 24 Dec 2005 14:35:17 +0000 (09:35 -0500)
commitaa84505fb0fb9504c61d77e8e6930a417fc404d6
treef81404128e2340df1827104ab063a0f0cfd45691
parentebc62fb36ca40539fb08575f94c7da75d1b9db85
[PATCH] chelsio: transmit routine return values

The Chelsio driver does not return the correct values from
the transmit routine. It works because the values don't conflict,
but it is using the wrong defines. And -ENOMEM is not a legal return
value.

Since t1_sge_tx is only called in one place, making it static
allows compiler to be potentially inline it.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/chelsio/sge.c
drivers/net/chelsio/sge.h