* [PATCH] cgroup/rdma: fix swapped arguments in pr_warn() format string
@ 2026-04-09 5:21 cuitao
2026-04-10 8:54 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: cuitao @ 2026-04-09 5:21 UTC (permalink / raw)
To: tj, hannes, mkoutny, cgroups; +Cc: cuitao
The format string says "device %p ... rdma cgroup %p" but the arguments
were passed as (cg, device), printing them in the wrong order.
Signed-off-by: cuitao <cuitao@kylinos.cn>
---
kernel/cgroup/rdma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/cgroup/rdma.c b/kernel/cgroup/rdma.c
index 09258eebb5c7..9967fb25c563 100644
--- a/kernel/cgroup/rdma.c
+++ b/kernel/cgroup/rdma.c
@@ -173,7 +173,7 @@ uncharge_cg_locked(struct rdma_cgroup *cg,
* the system.
*/
if (unlikely(!rpool)) {
- pr_warn("Invalid device %p or rdma cgroup %p\n", cg, device);
+ pr_warn("Invalid device %p or rdma cgroup %p\n", device, cg);
return;
}
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] cgroup/rdma: fix swapped arguments in pr_warn() format string
2026-04-09 5:21 [PATCH] cgroup/rdma: fix swapped arguments in pr_warn() format string cuitao
@ 2026-04-10 8:54 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2026-04-10 8:54 UTC (permalink / raw)
To: cuitao; +Cc: hannes, mkoutny, cgroups
Hello,
Applied to cgroup/for-7.1.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-10 8:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-09 5:21 [PATCH] cgroup/rdma: fix swapped arguments in pr_warn() format string cuitao
2026-04-10 8:54 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox