diff options
author | Andreas Noever <andreas.noever@gmail.com> | 2014-06-20 21:42:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-20 22:06:01 +0200 |
commit | 801dba53fef8bfc2f1424c33914a41810594bde2 (patch) | |
tree | fb8e32b297378ac864844eebcea1cbb9f5325ed6 /tools/thermal | |
parent | thunderbolt: fix format string for size_t (diff) | |
download | linux-801dba53fef8bfc2f1424c33914a41810594bde2.tar.xz linux-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 'tools/thermal')
0 files changed, 0 insertions, 0 deletions