Re: [PATCH] checkpatch: warn about using CONFIG_EXPERIMENTAL

From: Joe Perches
Date: Mon Nov 12 2012 - 18:19:03 EST


On Mon, 2012-11-12 at 15:11 -0800, Kees Cook wrote:
> On Mon, Nov 12, 2012 at 3:06 PM, Joe Perches <joe@xxxxxxxxxxx> wrote:
> > On Mon, 2012-11-12 at 14:50 -0800, Kees Cook wrote:
> >> + WARN("CONFIG_EXPERIMENTAL",
> >> + "Use of CONFIG_EXPERIMENTAL is deprecated. " +
> >> + "For alternatives, see " +
> >> + "https://lkml.org/lkml/2012/10/23/580\n";);
> >
> > I'd much prefer this be on a single line and not using the +
> > string operator as that style is not currently used in checkpatch.
>
> Hah. Okay. We should exclude checkpatch.pl from the 80 character check
> it warns about. ;)

;)

checkpatch is for .[ch] files, it isn't for anything else really.


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