commit | b8b277525e9df2fd2dc3d1f4fe01c6796bb107fc | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.com> | Thu May 09 11:08:16 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu May 09 09:35:40 2019 -0700 |
tree | d4c2af4b3e7545a1b0d5092264daf41fbdd9245c | |
parent | 873017af778439f2f8e3d87f28ddb1fcaf244a76 [diff] |
aqc111: fix endianness issue in aqc111_change_mtu If the MTU is large enough, the first write to the device is just repeated. On BE architectures, however, the first word of the command will be swapped a second time and garbage will be written. Avoid that. Signed-off-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: David S. Miller <davem@davemloft.net>