HomeFreeBSD

boolean_t: change to unsigned int to avoid signed bitfield warnings

Description

boolean_t: change to unsigned int to avoid signed bitfield warnings

This is the final part, which actually makes boolean_t unsigned. Note
that we do not change its size, nor do we try to change it directly to
bool, since that results in a lot of regressions.

Converting the remaining instances of boolean_t to plain C99 bool can
now be done in a piecemeal fashion, after which boolean_t may hopefully
be retired.

MFC after: 1 week
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D39753

(cherry picked from commit 3029b0b0e9d68eb54e3bdd9e3e49e0f0d2d57835)

Details

Provenance
dimAuthored on Apr 25 2023, 5:52 PM
Reviewer
jhb
Differential Revision
D39753: boolean_t: change to unsigned int to avoid signed bitfield warnings
Parents
rG3f527b4b8fd5: vm: fix a number of functions to match the expected prototypes
Branches
Unknown
Tags
Unknown