]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
checkpatch: Prefer seq_puts to seq_printf
authorJoe Perches <joe@perches.com>
Wed, 20 Mar 2013 04:07:46 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:34:04 +0000 (16:34 +1100)
commitcf6706de5e283dfcfa8e3b86b80b0876b3d43897
tree1608bb3225b30369a4d121f3bd3ccafa2862f372
parent5fc7f49b5d1d7aabcd25596b18f115f76c45676b
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