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

- From: Jonathan Corbet \<corbet@lwn.net\>
- Date: 2019-01-21 08:05:01 
- List: netdev
- Page: https://ratatoskr.run/netdev/2019/01/5488678
- Thread: https://ratatoskr.run/netdev/2019/01/5487989/t.md

```text
On Fri, 18 Jan 2019 15:50:47 -0700
Jason Gunthorpe [ref] 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@mail.gmail.com
> Signed-off-by: Joe Perches <joe@perches.com>
> Acked-by: Joe Perches <joe@perches.com>
> Reviewed-by: Bart Van Assche <bvanassche@acm.org>
> Acked-by: Jani Nikula <redacted>
> Reviewed-by: Joey Pabalinas <redacted>
> Signed-off-by: Jason Gunthorpe <redacted>

So this seems ready; I've applied it.  

Thanks,

jon
```
