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)
Thu, May 28, 4:58 AM
Unknown Object (File)
Wed, May 27, 7:47 PM
Unknown Object (File)
Wed, May 27, 1:21 AM
Unknown Object (File)
Tue, May 26, 9:50 AM
Unknown Object (File)
Mon, May 25, 8:41 AM
Unknown Object (File)
Mon, May 18, 7:12 AM
Unknown Object (File)
Mon, May 18, 7:05 AM
Unknown Object (File)
Sun, May 17, 9:24 PM
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