summaryrefslogtreecommitdiff
path: root/drivers/thunderbolt/eeprom.c
diff options
context:
space:
mode:
authorAndreas Noever <andreas.noever@gmail.com>2014-06-20 23:42:22 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-21 00:06:01 +0400
commit801dba53fef8bfc2f1424c33914a41810594bde2 (patch)
treefb8e32b297378ac864844eebcea1cbb9f5325ed6 /drivers/thunderbolt/eeprom.c
parent3543fb776d8e63934615bf7070ee5fa5a6a7382d (diff)
downloadlinux-801dba53fef8bfc2f1424c33914a41810594bde2.tar.xz
thunderbolt: Add casts to prevent endianness warnings
Thunderbolt packets are big endian. Cast pkg->buffer to __be32* when accessing the checksum. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Andreas Noever <andreas.noever@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thunderbolt/eeprom.c')
0 files changed, 0 insertions, 0 deletions