diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-07-09 20:55:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-12 01:02:11 +0200 |
commit | 694625c0b322905d6892fad873029f764cd4823f (patch) | |
tree | c48ac2c0095f2ac4044bd12b27ea318eb6156c73 /drivers/net/ibm_emac | |
parent | PCI: pcie: remove SPIN_LOCK_UNLOCKED (diff) | |
download | linux-694625c0b322905d6892fad873029f764cd4823f.tar.xz linux-694625c0b322905d6892fad873029f764cd4823f.zip |
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>
Diffstat (limited to 'drivers/net/ibm_emac')
0 files changed, 0 insertions, 0 deletions