kernel-ark/drivers/pci
Randy Dunlap 694625c0b3 PCI: add pci_try_set_mwi
As suggested by Andrew, add pci_try_set_mwi(), which does not require
return-value checking.

- add pci_try_set_mwi() without __must_check
- make it return 0 on success, errno if the "try" failed or error
- review callers

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:02:11 -07:00
..
hotplug PCI: ROUND_UP macro cleanup in drivers/pci 2007-07-11 16:02:11 -07:00
pcie PCI: pcie: remove SPIN_LOCK_UNLOCKED 2007-07-11 16:02:11 -07:00
.gitignore
access.c
bus.c pci: do not mark exported functions as __devinit 2007-05-02 19:02:35 -07:00
hotplug.c
htirq.c PCI: Use pci_find_ht_capability() in drivers/pci/htirq.c 2006-12-20 10:54:42 -08:00
Kconfig PCI: remove the broken PCI_MULTITHREAD_PROBE option 2007-05-02 19:02:38 -07:00
Makefile
msi.c msi: mask the msix vector before we unmap it 2007-06-01 08:18:27 -07:00
msi.h
pci-acpi.c PCI: fix AER driver error information 2007-07-11 16:02:08 -07:00
pci-driver.c Fix more "deprecated" spellos. 2007-05-09 07:19:14 +02:00
pci-sysfs.c PCI: Make pcibios_add_platform_entries() return errors 2007-07-11 16:02:07 -07:00
pci.c PCI: add pci_try_set_mwi 2007-07-11 16:02:11 -07:00
pci.h MSI: Use a list instead of the custom link structure 2007-05-02 19:02:37 -07:00
probe.c PCI: read revision ID by default 2007-07-11 16:02:09 -07:00
proc.c PCI: unexport pci_proc_attach_device 2007-07-11 16:02:08 -07:00
quirks.c PCI: pci-x-pci-express-read-control-interfaces cleanups 2007-07-11 16:02:11 -07:00
remove.c
rom.c
search.c PCI: Fix pci_find_present 2007-05-31 16:56:37 -07:00
setup-bus.c PCI: ROUND_UP macro cleanup in drivers/pci 2007-07-11 16:02:11 -07:00
setup-irq.c PCI: PCI devices get assigned redundant IRQs 2007-02-16 15:30:10 -08:00
setup-res.c pci: do not mark exported functions as __devinit 2007-05-02 19:02:35 -07:00
syscall.c pci syscall.c: Switch to refcounting API 2007-07-11 16:02:07 -07:00