HomeFreeBSD

cam_xpt: Prefer bool to int where it's a boolean

Description

cam_xpt: Prefer bool to int where it's a boolean

In the places where we set an integer to 0 or 1 and then use it like a
boolean, replace int with bool and 0/1 with false/true. Left alone
places where this is a function argument or return value. No functional
changes intended.

Sponsored by: Netflix

Details

Provenance
impAuthored on May 1 2022, 6:04 PM
Parents
rGd592c0db8ba7: cam: add hw.cam.iosched.read_bias
Branches
Unknown
Tags
Unknown