summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorLaurent Dufour <ldufour@linux.vnet.ibm.com>2015-07-31 11:29:50 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2015-08-20 10:19:08 +0200
commit480798044eb268a31f6b84bc3b7f99b9989e463d (patch)
tree76eae8f4a721e705dcbf48c52d7c7327454ec3b5 /include/rdma
parentleds/powernv: Add driver for PowerNV platform (diff)
downloadlinux-480798044eb268a31f6b84bc3b7f99b9989e463d.tar.xz
linux-480798044eb268a31f6b84bc3b7f99b9989e463d.zip
powerpc/hvsi: Fix endianness issues in the HVSI driver
This patch fixes several endianness issues detected when running the HVSI driver in little endian mode. These issues are raised in little endian mode because the data exchanged in memory between the kernel and the hypervisor has to be in big endian format. This exhibits as errors such as: irq: (null) didn't like hwirq-0x1000a00 to VIRQ16 mapping (rc=-22) hvsi_console_init: couldn't create irq mapping for 0x1000a00 The data structures already have endian annotations, and sparse is generating numerous warnings based on those. This commit fixes all of them. Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com> CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org> CC: Jiri Slaby <jslaby@suse.cz> CC: linuxppc-dev@lists.ozlabs.org CC: linux-kernel@vger.kernel.org [mpe: Flesh out change log] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions