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)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 02:57:11 +0000 (02:57 +0000)
commitca231733fe0b47ab42c7b81cd256a8009394e337
tree5758d1ce88af9e1319cae2a3f9f75da35e21bb60
parent79eb44d36e925c8ee65f4afaee4de8c6c5c12fa4
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