Re: [PATCH] checkpatch: Suggest pr_<level> over printk(KERN_<LEVEL>

From: Joe Perches
Date: Tue Mar 13 2012 - 21:17:25 EST


On Tue, 2012-03-13 at 21:07 -0400, Ted Ts'o wrote:
> On Tue, Mar 13, 2012 at 05:47:06PM -0700, Joe Perches wrote:
> > Or add an I: line to MAINTAINERS
> >
> > though perhaps it's better to agree on a style.
> >
> > I did send a few fixes and a style consolidation patch
> > for ext4 with no reply awhile ago:
> >
> > https://lkml.org/lkml/2011/8/2/41
>
> You combined a huge number of changes into a single patch, and as far
> as I was concerned the value it added Just Wasn't Worth It. It adds
> noise which causes other patches, which add real value, not to apply
> cleanly.
>
> I routinely ignore such patches because I have a limited amount of
> time, and as far as I'm concerned they mainly make my life harder.
>
> Looking more closely, there are a few changes in there that I'd
> accept, but it was burried amongst so much other junk that if it's all
> or nothing, it would be nothing. Funny that someone who is an expert
> in style things neglected something **far** more important ---
> segregate logical changes in separate commits; don't collapse
> everything into a single patch, which makes it hard to review.

The patch was all apiece, every bit associated to logging output.
It was bundled to make it easier to apply.

You call it junk, I call it cleanups.

Consistent style in a largish project has advantages.
You can ignore them if you choose.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/