Page MenuHomeFreeBSD

nvmecontrol: Pass 1 to uint8_t arg
ClosedPublic

Authored by imp on Mon, Feb 2, 6:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 6, 8:29 PM
Unknown Object (File)
Tue, Feb 3, 10:37 PM
Unknown Object (File)
Tue, Feb 3, 8:10 AM
Unknown Object (File)
Tue, Feb 3, 5:51 AM
Unknown Object (File)
Tue, Feb 3, 1:54 AM
Unknown Object (File)
Tue, Feb 3, 1:12 AM
Unknown Object (File)
Mon, Feb 2, 11:14 PM
Unknown Object (File)
Mon, Feb 2, 8:26 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