Page MenuHomeFreeBSD

nvme: Use size_t for payload size
ClosedPublic

Authored by des on Feb 13 2026, 5:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 18, 2:48 PM
Unknown Object (File)
Thu, Jun 18, 1:42 PM
Unknown Object (File)
Sun, May 24, 9:08 AM
Unknown Object (File)
May 18 2026, 10:22 AM
Unknown Object (File)
May 18 2026, 10:18 AM
Unknown Object (File)
May 12 2026, 2:47 PM
Unknown Object (File)
May 12 2026, 7:18 AM
Unknown Object (File)
May 11 2026, 5:31 PM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable