HomeFreeBSD

nvmecontrol: Create letoh to generically convert to host order

Description

nvmecontrol: Create letoh to generically convert to host order

Using _Generic, create letoh which will generically convert uintXX_t
types from little endian to host, regardless of the size. This name has
been floated as a possible addition to endian.h.

Sponsored by: Netflix
Discussed with: jhb
Reviewed by: chuck
Differential Revision: https://reviews.freebsd.org/D44649

Details

Provenance
impAuthored on Apr 16 2024, 10:35 PM
Reviewer
chuck
Differential Revision
D44649: nvmecontrol: Create letoh generically convert to host order
Parents
rGde22251127cd: arm_kernel_bothdr.awk: Update to latest ota
Branches
Unknown
Tags
Unknown