]> git.karo-electronics.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>
Wed, 20 Mar 2013 04:23:01 +0000 (15:23 +1100)
commitbab8167b067af44fcaf1a2550b07e9b7f62d16e3
tree1870f3973830fa48d6070a6a15bc275de8137d48
parent8aa4e94a607468e60b6b3fb91a4754b83ea6c796
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