kernel-hacking-2024-linux-s.../drivers
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
..
acorn
acpi acpi: fix potential call to a freed memory section. 2007-05-17 05:23:04 -07:00
amba
ata libata: track spindown status and skip spindown_compat if possible 2007-05-16 01:18:31 -04:00
atm Use menuconfig objects II - netdev/atm 2007-05-11 17:53:21 -04:00
auxdisplay
base
block fix deadlock in loop.c 2007-05-13 09:44:05 -07:00
bluetooth
cdrom
char Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart 2007-05-15 12:10:26 -07:00
clocksource
connector
cpufreq
crypto
dio
dma
edac
eisa
fc4
firewire missing mm.h in fw-ohci 2007-05-15 18:56:37 -07:00
firmware
hid
hwmon
i2c
ide Use menuconfig objects: IDE 2007-05-16 00:51:46 +02:00
ieee1394
infiniband Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband 2007-05-15 09:52:31 -07:00
input missing dependencies for USB drivers in input 2007-05-15 18:56:37 -07:00
isdn
kvm
leds
macintosh
mca
md
media em28xx and ivtv should depend on PCI 2007-05-15 18:56:37 -07:00
message
mfd
misc
mmc pxamci: fix PXA27x MMC workaround for bad CRC with 136 bit response 2007-05-14 18:51:48 +02:00
mtd Remove SLAB_CTOR_CONSTRUCTOR 2007-05-17 05:23:04 -07:00
net e1000: Fix msi enable leak on error, don't print error message, cleanup 2007-05-17 20:43:15 -04:00
nubus
oprofile
parisc
parport parport_pc needs dma-mapping.h 2007-05-16 21:19:15 -07:00
pci rpadlpar breakage - fallout of struct subsystem removal 2007-05-15 18:56:37 -07:00
pcmcia
pnp
ps3
rapidio
rtc rtc kconfig clarification 2007-05-17 05:23:05 -07:00
s390
sbus [SPARC] SBUS: display7seg.c needs asm/io.h 2007-05-13 22:22:47 -07:00
scsi [SCSI]: Add help text for SCSI_ESP_CORE. 2007-05-13 23:52:14 -07:00
serial NS16550A: Restore HS settings in EXCR2 on resume 2007-05-17 05:25:49 -07:00
sh
sn
spi spi: fix spidev for >sizeof(long)/32 devices 2007-05-16 21:19:15 -07:00
tc
telephony
usb [ARM] 4370/3: AT91: Support for Atmel AT91SAM9RL processors. 2007-05-11 21:07:54 +01:00
video Refine SCREEN_INFO sanity check for vgacon initialization 2007-05-17 05:23:04 -07:00
w1
zorro
Kconfig
Makefile