]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: Prefer seq_puts to seq_printf
authorJoe Perches <joe@perches.com>
Mon, 29 Apr 2013 23:18:13 +0000 (16:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:19 +0000 (18:28 -0700)
commit9897b7ee14e84efdb36b4b02517979f8fd3a077e
tree67d260393e057398039f81acf41c4d35d7c6a01f
parentf4da25633246d17789b5f143438e24ac4472174a
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl