HomeFreeBSD

nvmecontrol: Fix to128 for big endian targets

Description

nvmecontrol: Fix to128 for big endian targets

The source is always 128-bits in little endian format. For big endian
hosts, we have to convert, or we print bogus numbers.

Sponsored by: Netflix
Reviewed by: chuck
Differential Revision: https://reviews.freebsd.org/D44651

(cherry picked from commit 1c4b7effa7f9df64bf72c6291b4719cffb2ffe22)

Details

Provenance
impAuthored on Apr 16 2024, 10:35 PM
jhbCommitted on Aug 26 2024, 6:31 PM
Reviewer
chuck
Differential Revision
D44651: nvmecontrol: Fix to128 for big endian targets
Parents
rG78e2c1882b2f: nvmecontrol: Have to truncate on all 32-bit architectures
Branches
Unknown
Tags
Unknown