This is an automated email from Gerrit. Antonio Borneo (borneo.anto...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/5119
-- gerrit commit b0c0bc65d8a128c55ee542298c116c094909f7a5 Author: Paul Fertser <fercer...@gmail.com> Date: Mon Oct 14 10:03:00 2013 +0400 [RFC] checkpatch: add logging functions It's commonly considered that user-visible strings should not be split to different lines in the sources to ease grepping for them. Hence, checkpatch traditionally makes an exception for logging functions, lines having them can be of arbitrary length. OpenOCD uses different (from Linux, the kernel) names, so they need to be added to avoid false positives. This is the old commit bb3cd6ec438de16295152c64592408685ef9451f re-applied. Change-Id: Ib18e4532cf7e1f79821b74c9bb6134a8a4e8be1b Signed-off-by: Paul Fertser <fercer...@gmail.com> Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com> diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl index 6f44068..5ec1ecb 100755 --- a/tools/scripts/checkpatch.pl +++ b/tools/scripts/checkpatch.pl @@ -464,7 +464,8 @@ our $logFunctions = qr{(?x: WARN(?:_RATELIMIT|_ONCE|)| panic| MODULE_[A-Z_]+| - seq_vprintf|seq_printf|seq_puts + seq_vprintf|seq_printf|seq_puts| + LOG_(?:DEBUG|INFO|WARNING|ERROR|USER|USER_N|OUTPUT)+ )}; our $allocFunctions = qr{(?x: -- _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel