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



_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux