summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Target/X86/X86PadShortFunction.cpp
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2016-10-12 05:38:44 +0000
committermav <mav@FreeBSD.org>2016-10-12 05:38:44 +0000
commitfae25120fd0bc44b1fffde52391b2937ed0eb261 (patch)
tree324988a72b704b8228e9debe4d2ebfc91a10566e /contrib/llvm/lib/Target/X86/X86PadShortFunction.cpp
parent3838a81e2bc00341cfcca7b2684e987e4aea7db1 (diff)
downloadFreeBSD-src-fae25120fd0bc44b1fffde52391b2937ed0eb261.zip
FreeBSD-src-fae25120fd0bc44b1fffde52391b2937ed0eb261.tar.gz
MFC r305202: MFV r302654:
6879 incorrect endianness swap for drr_spill.drr_length in libzfs_sendrecv.c illumos/illumos-gate@20fea7a47472aceb64d3ed48cc2a3ea268bc4795 https://github.com/illumos/illumos-gate/commit/20fea7a47472aceb64d3ed48cc2a3ea26 8bc4795 https://www.illumos.org/issues/6879 In libzfs_sendrecv, there's a typo: case DRR_SPILL: if (byteswap) { drr->drr_u.drr_write.drr_length = BSWAP_64(drr->drr_u.drr_spill.drr_length); } Instead of drr_write.drr_length, we should be assigning the result of the byteswap to drr_spill.drr_length. Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Paul Dagnelie <pcd@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com> Author: Dan Kimmel <dan.kimmel@delphix.com>
Diffstat (limited to 'contrib/llvm/lib/Target/X86/X86PadShortFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud