On Tue, Jan 3, 2012 at 7:38 AM, Joe Perches <[email protected]> wrote:
> On Tue, 2012-01-03 at 10:55 +0300, Dan Carpenter wrote:
>> Btw, I don't know if you noticed, but this is a small bugfix.  The
>> original code but bogus tabs into the printk.
>>
>> Was there some automated tool to find these?
>
> checkpatch warns on this style use.
>
> # check for line continuations in quoted strings with odd counts of "
>
>                if ($rawline =~ /\\$/ && $rawline =~ tr/"/"/ % 2) {
>                        WARN("LINE_CONTINUATIONS",
>                             "Avoid line continuations in quoted strings\n" . 
> $herecurr);
>                }
>
>
>
That is correct.  As Joe mentioned; checkpatch returned a warning.

Thanks,
Kevin
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to