Page MenuHomeFreeBSD

nvmecontrol: Pass 1 to uint8_t arg
ClosedPublic

Authored by imp on Feb 2 2026, 6:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 7, 9:20 AM
Unknown Object (File)
Mon, Jul 6, 9:58 AM
Unknown Object (File)
Sun, Jul 5, 11:22 PM
Unknown Object (File)
Thu, Jun 11, 6:52 PM
Unknown Object (File)
May 28 2026, 4:58 AM
Unknown Object (File)
May 27 2026, 7:47 PM
Unknown Object (File)
May 27 2026, 1:21 AM
Unknown Object (File)
May 26 2026, 9:50 AM
Subscribers

Details

Summary

The rae arg is uint8_t (which we then shift over to the right bit. Pass
'1' instead of 'true' here to match the interface. While true is
promoted to (uint8_t)1, we don't use it as a bool in read_logpage().

Fixes: 5322eec86ae4 ("nvmecontrol: Always set the RAE bit on telemetry-log requests")
Sponsored by: Netflix

Diff Detail

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