diff options
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | 2017-02-15 10:32:11 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-15 14:48:31 -0500 |
commit | 28f4d16570dcf440e54a4d72666d5be452f27d0e (patch) | |
tree | 343341060351c73a5321fddc780dfe473aa02036 /lib/string_helpers.c | |
parent | 7627ae6030f56a9a91a5b3867b21f35d79c16e64 (diff) |
ibmvnic: Fix endian error when requesting device capabilities
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>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions