[U-Boot] [PATCH] checkpatch.pl: Add 'printf' to logFunctions

Tom Rini trini at ti.com
Fri Jun 7 20:19:36 CEST 2013


On Thu, Jun 06, 2013 at 09:28:49AM -0400, Tom Rini wrote:

> Signed-off-by: Tom Rini <trini at ti.com>
> ---
>  tools/checkpatch.pl |    1 +
>  1 file changed, 1 insertion(+)
> 
> 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_]+
>  )};

Applied to u-boot/master, thanks!

-- 
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>


More information about the U-Boot mailing list