ibmvnic: Fix endian errors in error reporting output
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Wed, 24 May 2017 01:53:26 +0000 (21:53 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jun 2017 04:41:49 +0000 (06:41 +0200)
commitb5a1aa812a161dce89d296e599a003de17cccefa
treeb67fae9b0633928c974835bd63fa9385ec57fcb9
parentd864e675c78983b287848a3df64c1d9dfed263da
ibmvnic: Fix endian errors in error reporting output

[ Upstream commit 75224c93fa985f4a6fb983f53208f5c5aa555fbf ]

Error reports received from firmware were not being converted from
big endian values, leading to bogus error codes reported on little
endian systems.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/ibm/ibmvnic.c