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

From
Jason Gunthorpe <jgg@ziepe.ca>
Date
2019-01-07 23:25:17
Also in
linux-rdma, lkml
Reply to
Joe Perches, 2019-01-07
On Mon, Jan 07, 2019 at 02:10:22PM -0800, Joe Perches wrote:
On Mon, 2019-01-07 at 14:11 -0700, Jason Gunthorpe wrote:
quoted
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.
Thanks Jason.

It'd be nice to combine this with some better checkpatch warning or
even a removal of that misleading warning from checkpatch
altogether.
Okay, do you have a preference?
With a couple minor nits below and and Ack if
you want one:

Acked-by: Joe Perches <joe@perches.com>
Thanks, I made the revisions with Bart's extra words. I'll send a v4
in a few days.

Jason
Thread (6 messages) 6 messages, 3 authors, last reply 2019-01-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help