Re: [PATCH v5] coding-style: Clarify the expectations around bool

From: Jonathan Corbet
Date: Mon Jan 21 2019 - 03:05:01 EST


On Fri, 18 Jan 2019 15:50:47 -0700
Jason Gunthorpe <jgg@xxxxxxxx> wrote:

> There has been some confusion since checkpatch started warning about bool
> use in structures, and people have been avoiding using it.
>
> Many people feel there is still a legitimate place for bool in structures,
> so provide some guidance on bool usage derived from the entire thread that
> spawned the checkpatch warning.
>
> Link: https://lkml.kernel.org/r/CA+55aFwVZk1OfB9T2v014PTAKFhtVan_Zj2dOjnCy3x6E4UJfA@xxxxxxxxxxxxxx
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> Acked-by: Joe Perches <joe@xxxxxxxxxxx>
> Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>
> Acked-by: Jani Nikula <jani.nikula@xxxxxxxxx>
> Reviewed-by: Joey Pabalinas <joeypabalinas@xxxxxxxxx>
> Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

So this seems ready; I've applied it.

Thanks,

jon