projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c63ca78
)
bcache: replace '%pF' by '%pS' in seq_printf()
author
Coly Li
<colyli@suse.de>
Sat, 11 Aug 2018 05:19:51 +0000
(13:19 +0800)
committer
Jens Axboe
<axboe@kernel.dk>
Sat, 11 Aug 2018 21:46:41 +0000
(15:46 -0600)
'%pF' and '%pf' are deprecated vsprintf pointer extensions, this patch
replace them by '%pS', which is suggested by checkpatch.pl.
Signed-off-by: Coly Li <colyli@suse.de>
Reviewed-by: Shenghui Wang <shhuiw@foxmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/closure.c
patch
|
blob
|
history
diff --git
a/drivers/md/bcache/closure.c
b/drivers/md/bcache/closure.c
index 8570fc426e312f0c954216a87c195f29cb15bb6f..034067e0e9ceb76191ee3d896f4bb34a0a09bfef 100644
(file)
--- a/
drivers/md/bcache/closure.c
+++ b/
drivers/md/bcache/closure.c
@@
-168,7
+168,7
@@
static int debug_seq_show(struct seq_file *f, void *data)
list_for_each_entry(cl, &closure_list, all) {
int r = atomic_read(&cl->remaining);
- seq_printf(f, "%p: %p
F -> %pf
p %p r %i ",
+ seq_printf(f, "%p: %p
S -> %pS
p %p r %i ",
cl, (void *) cl->ip, cl->fn, cl->parent,
r & CLOSURE_REMAINING_MASK);
@@
-178,7
+178,7
@@
static int debug_seq_show(struct seq_file *f, void *data)
r & CLOSURE_RUNNING ? "R" : "");
if (r & CLOSURE_WAITING)
- seq_printf(f, " W %p
F
\n",
+ seq_printf(f, " W %p
S
\n",
(void *) cl->waiting_on);
seq_printf(f, "\n");