linux-sg2042/drivers/staging/unisys
Benjamin Romer 35b8117b0a staging: unisys: fix IO memory copy in channel.h
The function ULTRA_check_channel_client() was recently patched to use
ioread8_rep(). Unfortunately the parameters were incorrectly ordered, and this
causes the function to fail and the guest to not boot.

This patch switches the parameters around and uses memcpy_fromio() instead,
which is clearer since a structure is being copied, not an array, and it
fixes the error message printout later in the function that was using the UUID
value in the channel, rather than the value copied from the channel, which
causes a misleading error to be reported.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-23 13:35:03 -07:00
..
Documentation staging: unisys: ABI documentation for new sysfs entries 2014-07-24 15:07:59 -07:00
channels Staging: unisys: channels: Missing a blank line after declarations 2014-09-23 13:33:34 -07:00
common-spar/include staging: unisys: fix IO memory copy in channel.h 2014-09-23 13:35:03 -07:00
include staging: unisys: fix whitespace in uisutils.h 2014-08-16 12:23:07 -07:00
uislib staging: unisys: uislib: uislib.c: sparse warning of context imbalance 2014-09-19 16:08:10 -07:00
virthba staging: unisys: virthba: remove unnecessary return statement 2014-09-23 13:33:34 -07:00
virtpci staging: unisys: remove commontypes.h 2014-08-16 12:23:06 -07:00
visorchannel staging: unisys: remove commontypes.h 2014-08-16 12:23:06 -07:00
visorchipset drivers/staging/unisys: fix build 2014-08-26 12:18:51 -07:00
visorutil staging: unisys: visorutil: remove unnecessary braces 2014-09-23 13:33:34 -07:00
Kconfig Staging: unisys Remove BROKEN from Kconfig to allow compilation 2014-06-26 20:16:39 -04:00
MAINTAINERS staging: s-Par driver documentation 2014-03-04 17:04:28 -08:00
Makefile staging: virthba driver to access shared SCSI hba 2014-03-04 17:03:22 -08:00
TODO staging: unisys: update MAINTAINERS and TODO 2014-03-08 22:42:14 -08:00