From: Alex Williamson Date: Wed, 21 Dec 2005 22:21:36 +0000 (-0700) Subject: [IA64] incorrect return from ia64_pci_legacy_write() X-Git-Tag: v2.6.16-rc1~474^2~21^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=408045afbdb46e109a1a44e67af688e9ddf7ad66;p=pandora-kernel.git [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 Signed-off-by: Tony Luck --- Reading git-diff-tree failed