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)
Sat, Apr 4, 11:17 PM
Unknown Object (File)
Feb 28 2026, 6:21 AM
Unknown Object (File)
Feb 23 2026, 5:13 AM
Unknown Object (File)
Feb 21 2026, 7:50 PM
Unknown Object (File)
Feb 19 2026, 6:09 PM
Unknown Object (File)
Feb 19 2026, 4:03 AM
Unknown Object (File)
Feb 18 2026, 10:41 PM
Unknown Object (File)
Feb 18 2026, 7:53 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