projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bc1f6e
)
block/rnbd-clt: Use put_cpu_ptr after get_cpu_ptr
author
Gioh Kim
<gi-oh.kim@ionos.com>
Mon, 26 Jul 2021 11:59:49 +0000
(13:59 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 2 Aug 2021 19:37:40 +0000
(13:37 -0600)
This patch replaces put_cpu_var with put_cpu_ptr because
get_cpu_ptr should be paired with put_cpu_ptr.
Signed-off-by: Gioh Kim <gi-oh.kim@ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Link:
https://lore.kernel.org/r/20210726115950.470543-2-jinpu.wang@ionos.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rnbd/rnbd-clt.c
patch
|
blob
|
history
diff --git
a/drivers/block/rnbd/rnbd-clt.c
b/drivers/block/rnbd/rnbd-clt.c
index
e9cc413
..
bd4a41a
100644
(file)
--- a/
drivers/block/rnbd/rnbd-clt.c
+++ b/
drivers/block/rnbd/rnbd-clt.c
@@
-271,7
+271,7
@@
unlock:
*/
if (cpu_q)
*cpup = cpu_q->cpu;
- put_cpu_
va
r(sess->cpu_rr);
+ put_cpu_
pt
r(sess->cpu_rr);
if (q)
rnbd_clt_dev_requeue(q);