Skip to contentSkip to conversation

checkpatch.pl: Add 'printf' to logFunctions

PATCH New Tom Rini 1 participant 2 messages Jun 6, 2013 – Jun 7, 2013

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 checkpatch.pl: Add 'printf' to logFunctions

---
 tools/checkpatch.pl |    1 +
 1 file changed, 1 insertion(+)
tools/checkpatch.pl +1 -0
index 9f23901..896e2bc 100755
@@ -273,6 +273,7 @@ our $logFunctions = qr{(?x:
 	WARN(?:_RATELIMIT|_ONCE|)|
 	panic|
 	debug|
+	printf|
 	MODULE_[A-Z_]+
 )};
 
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 1/1 checkpatch.pl: Add 'printf' to logFunctions

Quoted 10 lines · Tom Rini
---
 tools/checkpatch.pl |    1 +
 1 file changed, 1 insertion(+)
tools/checkpatch.pl +0 -0
index 9f23901..896e2bc 100755

tools/checkpatch.pl our $logFunctions = qr{(?x: · line 278

Quoted 6 lines
tools/checkpatch.pl +1 -0
@@ -273,6 +273,7 @@ our $logFunctions = qr{(?x:
 	WARN(?:_RATELIMIT|_ONCE|)|
 	panic|
 	debug|
+	printf|
 	MODULE_[A-Z_]+
 )};

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130607/5067766e/attachment.pgp>