commit | 28f4d16570dcf440e54a4d72666d5be452f27d0e | [log] [tgz] |
---|---|---|
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | Wed Feb 15 10:32:11 2017 -0600 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 15 14:48:31 2017 -0500 |
tree | 343341060351c73a5321fddc780dfe473aa02036 | |
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>