summaryrefslogtreecommitdiff
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)
downloadu-boot-imx-397bfd4642c12fb1c83a24376e03316523581c44.zip
u-boot-imx-397bfd4642c12fb1c83a24376e03316523581c44.tar.gz
u-boot-imx-397bfd4642c12fb1c83a24376e03316523581c44.tar.bz2
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 9f23901..896e2bc 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_]+
)};