UBIFS: replace seq_printf by seq_puts
authorFabian Frederick <fabf@skynet.be>
Tue, 15 Jul 2014 19:26:35 +0000 (21:26 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sat, 19 Jul 2014 06:53:52 +0000 (09:53 +0300)
commitd4eb08ff0a8e1de010252e6646e2fc907a7e9b4e
tree60522ed81c8be28c6a9ad4589fe9229abc9baa7a
parent86b4c14de34d19ec3fc4662761feed9918491658
UBIFS: replace seq_printf by seq_puts

Fix checkpatch warnings:
"WARNING: Prefer seq_puts to seq_printf"

Andrew Morton wrote:

"
- puts is presumably faster

- puts doesn't go rogue if you accidentally pass it a "%".

- this patch actually made fs/ubifs/super.o 12 bytes smaller.
  Perhaps because seq_printf() is a varargs function, forcing the
  caller to pass args on the stack instead of in registers.
"

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fs/ubifs/super.c
This page took 0.026006 seconds and 5 git commands to generate.