[PATCH 1/6] Staging: bcm: Fix coding style issues in CmHost.c
Joe Perches
joe at perches.com
Tue Jan 3 12:38:26 UTC 2012
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);
}
More information about the devel
mailing list