diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-05-03 18:51:05 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-05-06 09:20:29 +0200 |
commit | 9e809ef4317cf96a477342a09b8c205a49e44554 (patch) | |
tree | b8191f6fb71f762c98a456a93648459226852e32 /scripts/checkpatch.pl | |
parent | 88a012b9e14680149c0c970193e082fb5cf90157 (diff) | |
download | barebox-9e809ef4317cf96a477342a09b8c205a49e44554.tar.gz barebox-9e809ef4317cf96a477342a09b8c205a49e44554.tar.xz |
scripts: allow lines longer than 80 cols with printf() in checkpatch
The checkpatch.pl script is also used to validate user-space code in
the scripts/ directory, so it should allow printf() lines to be longer
than 80 columns.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-x | scripts/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 0d94f982fa..e80926fa0b 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -209,7 +209,7 @@ our $typeTypedefs = qr{(?x: )}; our $logFunctions = qr{(?x: - printk| + printk|printf| pr_(debug|dbg|vdbg|devel|info|warning|err|notice|alert|crit|emerg|cont)| (dev|netdev|netif)_(printk|dbg|vdbg|info|warn|err|notice|alert|crit|emerg|WARN)| WARN| |