]> err.no Git - linux-2.6/commit
[PATCH] myri10ge return value fix
authorBrice Goglin <brice@myri.com>
Mon, 10 Jul 2006 01:10:18 +0000 (21:10 -0400)
committerJeff Garzik <jeff@garzik.org>
Wed, 12 Jul 2006 21:44:11 +0000 (17:44 -0400)
commit4c2248cc57f83ce551511a6c1736383938dd9d1b
tree6de890dd8a3f7dd6456d45bb713f915b97264661
parent8431adfd37c306c05abeac8879be7b4e03273a4f
[PATCH] myri10ge return value fix

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: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/myri10ge/myri10ge.c