]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: Prefer seq_puts to seq_printf
authorJoe Perches <joe@perches.com>
Tue, 26 Mar 2013 23:25:05 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:29 +0000 (17:12 +1100)
commitc5cfaac685029046b7ad17ee31d9d4cd1d1d88dc
treec1b198fce4a7a99e85dc8284e8059b2937b8e876
parent4b4989a93a01653804581ccd59635a7eaa286607
checkpatch: Prefer seq_puts to seq_printf

Add a check for seq_printf use with a constant format without additional
arguments.  Suggest seq_puts instead.

Signed-off-by: Joe Perches <joe@perches.com>
Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/checkpatch.pl