diff options
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | 2017-05-24 01:53:27 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-17 04:41:49 (GMT) |
commit | 65e72723add09f7e260863b1f68f24d62c3cf96a (patch) | |
tree | 11b775c5ce79a256fd927253c647379f886b7647 /drivers/watchdog/menf21bmc_wdt.c | |
parent | b5a1aa812a161dce89d296e599a003de17cccefa (diff) | |
download | linux-65e72723add09f7e260863b1f68f24d62c3cf96a.tar.xz |
ibmvnic: Fix endian error when requesting device capabilities
[ Upstream commit 28f4d16570dcf440e54a4d72666d5be452f27d0e ]
When a vNIC client driver requests a faulty device setting, the
server returns an acceptable value for the client to request.
This 64 bit value was incorrectly being swapped as a 32 bit value,
resulting in loss of data. This patch corrects that by using
the 64 bit swap function.
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>
Diffstat (limited to 'drivers/watchdog/menf21bmc_wdt.c')
0 files changed, 0 insertions, 0 deletions