diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-07-15 21:26:35 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2014-07-19 09:53:52 +0300 |
commit | d4eb08ff0a8e1de010252e6646e2fc907a7e9b4e (patch) | |
tree | 60522ed81c8be28c6a9ad4589fe9229abc9baa7a /drivers/mtd/ubi/vtbl.c | |
parent | 86b4c14de34d19ec3fc4662761feed9918491658 (diff) |
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>
Diffstat (limited to 'drivers/mtd/ubi/vtbl.c')
0 files changed, 0 insertions, 0 deletions