]> git.sur5r.net Git - openocd/commit
checkpatch: add logging functions
authorPaul Fertser <fercerpav@gmail.com>
Mon, 14 Oct 2013 06:03:00 +0000 (10:03 +0400)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 15 Oct 2013 20:40:23 +0000 (20:40 +0000)
commitbb3cd6ec438de16295152c64592408685ef9451f
treef1f51581c935c54ff17a5115a80cf09500b792af
parent1211b8ea481b9185b04563a741ac0c41da274bc9
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.

Change-Id: I1198c1ffc62b5403d97efa41e665c81a5b6bb3a3
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1696
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
tools/scripts/checkpatch.pl