summaryrefslogtreecommitdiffstats
path: root/tools/checkpatch.pl
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-06-06 09:28:19 -0400
committerTom Rini <trini@ti.com>2013-06-06 09:28:19 -0400
commit397bfd4642c12fb1c83a24376e03316523581c44 (patch)
tree5adfc7fc75163137b4f653a7e931f662a17867fa /tools/checkpatch.pl
parentedfcf85a0a4abbeb3798b5159adab586d025ab86 (diff)
downloadtalos-obmc-uboot-397bfd4642c12fb1c83a24376e03316523581c44.tar.gz
talos-obmc-uboot-397bfd4642c12fb1c83a24376e03316523581c44.zip
checkpatch.pl: Add 'printf' to logFunctions
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'tools/checkpatch.pl')
-rwxr-xr-xtools/checkpatch.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl
index 9f23901872..896e2bc985 100755
--- a/tools/checkpatch.pl
+++ b/tools/checkpatch.pl
@@ -273,6 +273,7 @@ our $logFunctions = qr{(?x:
WARN(?:_RATELIMIT|_ONCE|)|
panic|
debug|
+ printf|
MODULE_[A-Z_]+
)};
OpenPOWER on IntegriCloud