diff options
author | Samarth Parikh <samarthp@ymail.com> | 2014-07-16 16:14:37 +0530 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-08-19 11:53:07 -0700 |
commit | 6f3c0f163103fb225c77b73ca17fc4ecea308103 (patch) | |
tree | 0a8c89ee85814c9d12f910e451bd3d71bf135fc6 /lib/timerqueue.c | |
parent | 2902330e7ac16d5962f114d92bb17631e9cb49e9 (diff) |
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 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions