Commit 3348e1e8 authored by cuitao's avatar cuitao Committed by Tejun Heo
Browse files

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: default avatarcuitao <cuitao@kylinos.cn>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 6675af9c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}