freebsd-dev/sys/dev/ichiic
Dimitry Andric 87f55ab0b4 ichiic: use bool for one-bit wide bit-fields
A one-bit wide bit-field can take only the values 0 and -1. Clang 16
introduced a warning that "implicit truncation from 'int' to a one-bit
wide bit-field changes value from 1 to -1". Fix by using c99 bool.

Reported by:	Clang
Reviewed by:	emaste, wulf
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D39665
2023-04-19 22:25:50 +02:00
..
ig4_acpi.c ichiic: use bool for one-bit wide bit-fields 2023-04-19 22:25:50 +02:00
ig4_iic.c ichiic: use bool for one-bit wide bit-fields 2023-04-19 22:25:50 +02:00
ig4_pci.c ichiic: use bool for one-bit wide bit-fields 2023-04-19 22:25:50 +02:00
ig4_reg.h [ig4] Add support for CannonLake controllers 2019-11-03 21:16:06 +00:00
ig4_var.h ichiic: use bool for one-bit wide bit-fields 2023-04-19 22:25:50 +02:00