]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IA64] incorrect return from ia64_pci_legacy_write()
authorAlex Williamson <alex.williamson@hp.com>
Wed, 21 Dec 2005 22:21:36 +0000 (15:21 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 3 Jan 2006 19:16:17 +0000 (11:16 -0800)
commit408045afbdb46e109a1a44e67af688e9ddf7ad66
tree4bcdc550aeca5a3cb2c561f664be9427f86ecf8e
parent88026842b0a760145aa71d69e74fbc9ec118ca44
[IA64] incorrect return from ia64_pci_legacy_write()

The function ia64_pci_legacy_write() returns 0 for everything
except errors.  This return value gets sent back to the user from
pci_write_legacy_io(), making it look like every write fails.  The trivial
patch below copies the behavior of the SGI sn machvec and does what
would be expected from something implementing a write() function.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/pci/pci.c