]> 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>
Fri, 22 Mar 2013 04:33:25 +0000 (15:33 +1100)
commitb131bfaebba44d5dd8d875416fb514454fecf061
treebb65e3c696a70090af06caafa2df4f878ea376ce
parent417835d3f55afbc438077c692d2b6b3bb4b322bd
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