HomeFreeBSD

nvme: Use size_t for payload size

Description

nvme: Use size_t for payload size

Using uint32_t here can cause spurious compiler warnings. I assume it
was done to constrain the range; use a KASSERT instead.

Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D55279

Details

Provenance
desAuthored on Feb 13 2026, 6:37 PM
Reviewer
imp
Differential Revision
D55279: nvme: Use size_t for payload size
Parents
rG10ac7413c060: elf_common.h: Add some AArch32 relocations
Branches
Unknown
Tags
Unknown