diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-07-15 23:26:35 +0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2014-07-19 10:53:52 +0400 |
commit | d4eb08ff0a8e1de010252e6646e2fc907a7e9b4e (patch) | |
tree | 60522ed81c8be28c6a9ad4589fe9229abc9baa7a /drivers/mtd/ubi | |
parent | 86b4c14de34d19ec3fc4662761feed9918491658 (diff) | |
download | linux-d4eb08ff0a8e1de010252e6646e2fc907a7e9b4e.tar.xz |
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')
0 files changed, 0 insertions, 0 deletions