diff options
author | Samarth Parikh | 2014-07-16 12:44:37 +0200 |
---|---|---|
committer | Brian Norris | 2014-08-19 20:53:07 +0200 |
commit | 6f3c0f163103fb225c77b73ca17fc4ecea308103 (patch) | |
tree | 0a8c89ee85814c9d12f910e451bd3d71bf135fc6 /drivers/mtd/nand/nand_base.c | |
parent | mtd: denali: avoid using a magic number (diff) | |
download | kernel-qcow2-linux-6f3c0f163103fb225c77b73ca17fc4ecea308103.tar.gz kernel-qcow2-linux-6f3c0f163103fb225c77b73ca17fc4ecea308103.tar.xz kernel-qcow2-linux-6f3c0f163103fb225c77b73ca17fc4ecea308103.zip |
mtd: Fixed checkpatch seq_printf warnings
Fixed checkpatch warnings: "WARNING: Prefer seq_puts to seq_printf"
This patch is created with reference to the ongoing lkml thread
https://lkml.org/lkml/2014/7/15/646
where Andrew Morton wrote:
"
- puts is presumably faster
- puts doesn't go rogue if you accidentally pass it a "%".
- this patch would actually make compiled object files few 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: Samarth Parikh <samarthp@ymail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/nand_base.c')
0 files changed, 0 insertions, 0 deletions