Page MenuHomeFreeBSD

boolean_t: change to unsigned int to avoid signed bitfield warnings
ClosedPublic

Authored by dim on Apr 21 2023, 7:11 PM.
Tags
None
Referenced Files
F122569572: D39753.id.diff
Sun, Jul 6, 8:15 AM
Unknown Object (File)
Sat, Jul 5, 6:04 AM
Unknown Object (File)
Mon, Jun 30, 5:36 PM
Unknown Object (File)
Mon, Jun 23, 6:42 AM
Unknown Object (File)
Mon, Jun 23, 2:57 AM
Unknown Object (File)
Fri, Jun 20, 12:53 AM
Unknown Object (File)
Wed, Jun 11, 4:32 AM
Unknown Object (File)
Tue, Jun 10, 9:56 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 51104
Build 47995: arc lint + arc unit

Event Timeline

dim requested review of this revision.Apr 21 2023, 7:11 PM
sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ioctl_os.c
62

Actually I might need to submit this one separately, but it already got committed upstream as https://github.com/openzfs/zfs/commit/62cc9d4f6b5ad3a16b97f6389828b20331863f40

Humm, maybe commit all the mismatch fixes separate from the change to switch boolean_t from int to unsigned int?

This revision is now accepted and ready to land.Apr 25 2023, 4:43 PM
In D39753#906076, @jhb wrote:

Humm, maybe commit all the mismatch fixes separate from the change to switch boolean_t from int to unsigned int?

First the mismatch fixes, then finally the boolean-to-unsigned one. Got it.

Humm, maybe commit all the mismatch fixes separate from the change to switch boolean_t from int to unsigned int?

That sounds reasonable to me too.

Humm, maybe commit all the mismatch fixes separate from the change to switch boolean_t from int to unsigned int?

That sounds reasonable to me too.

I've split it in three:

  1. openzfs fix (which was upstreamed)
  2. sys/vm fixes
  3. sys/sys/types.h change boolean_t to unsigned