HomeFreeBSD

nvme: fix byte conversion macros

Description

nvme: fix byte conversion macros

Fix the byte conversion macros for rsvd{2,3}. They are 32-bit quantity,
not 16, so use htole32. These typically aren't used, so this is a nop
for all in-tree uses. This would only have an effect on
powerpc64. Otherwise, we pass the value through unchanged.

Sponsored by: Netflix

Details

Provenance
impAuthored on Aug 28 2025, 4:21 PM
Parents
rG80dfed11fc1c: vtnet: Do not compare boolean with integer
Branches
Unknown
Tags
Unknown