Re: [PATCH 1/6] Staging: bcm: Fix coding style issues in CmHost.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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) {
			     "Avoid line continuations in quoted strings\n" . $herecurr);

devel mailing list

[Video for Linux]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Photos]     [Yosemite Photos]     [Free Singles Community]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Yosemite Backpacking]

Add to Google Powered by Linux