mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
cgroup/rdma: fix swapped arguments in pr_warn() format string
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> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user