aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt/tb.h
diff options
context:
space:
mode:
authorAndreas Noever <andreas.noever@gmail.com>2014-06-20 21:42:22 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-20 13:06:01 -0700
commit801dba53fef8bfc2f1424c33914a41810594bde2 (patch)
treefb8e32b297378ac864844eebcea1cbb9f5325ed6 /drivers/thunderbolt/tb.h
parentthunderbolt: fix format string for size_t (diff)
downloadlinux-dev-801dba53fef8bfc2f1424c33914a41810594bde2.tar.xz
linux-dev-801dba53fef8bfc2f1424c33914a41810594bde2.zip
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/tb.h')
0 files changed, 0 insertions, 0 deletions