Re: [PATCH wireless-next 00/20] Use pr_<level>

From: Joe Perches
Date: Fri Jun 15 2012 - 19:37:16 EST


On Fri, 2012-06-15 at 18:50 -0400, Ted Ts'o wrote:
> On Fri, Jun 15, 2012 at 03:48:39AM -0700, Joe Perches wrote:
> > To tee up conversions of:
> > pr_<level>("%s: ...", ([truct netdevice *]foo)->name, ...)
> > to
> > netdev_<level>(foo, "...", ...)
>
> If the goal is to do the latter, why introduce needless patch churn
> now just to get to pr_<level>? Having a standardized netdev_<label>()
> adds real benefit that can be weighed against the cost of code churn.
> Why not just wait until the netdev_<level> infrastructure can be
> introduced? It will save effort on everybody's part.

Not really. This standardizes prefixes as is.

The newlines and such will still occur.
The git blame noise etc too.

The standardization via spatch will be
significantly easier this way. It's also
a far easier pattern to verify.

--
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/