Files
linux/drivers/net
Auke Kok e94bd23f67 e1000: Fix msi enable leak on error, don't print error message, cleanup
pci_enable_msi failure is a normal event so we should not print any error.
Going over the code I spotted a missing pci_disable_msi() leak when irq
allocation fails. The whole code also needed a cleanup, so I combined the
two different calls to pci_request_irq into a single call making this
look a lot better. All #ifdef CONFIG_PCI_MSI's have been removed.

Compile tested with both CONFIG_PCI_MSI enabled and disabled.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-05-17 20:43:15 -04:00
..
2007-05-09 19:25:15 -04:00
2007-05-09 08:57:56 +02:00
…
2007-05-09 07:18:01 +02:00
2007-05-15 18:56:37 -07:00
…
2007-05-09 08:57:56 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-09 08:57:56 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-09 08:57:56 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-15 17:44:39 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-11 17:53:36 -04:00
…
2007-05-17 20:43:14 -04:00
…
…
…
…
…
…
2007-05-15 17:44:39 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-09 12:30:51 -07:00
…
…
…
2007-05-09 08:57:56 +02:00
…
…
…