Commit 8344817b authored by Chengchang Tang's avatar Chengchang Tang Committed by Juan Zhou
Browse files

RDMA/hns: Fix incorrect print type in bond

driver inclusion
category: cleanup
bugzilla: https://gitee.com/openeuler/kernel/issues/I6GT7F



--------------------------------------------------------------------------

Unsigned variable, print type should be "%u".
This patch fixes it.

Fixes: 79c470b1 ("RDMA/hns: Fix wild pointer error of RoCE bonding when rmmod hns3")
Signed-off-by: default avatarChengchang Tang <tangchengchang@huawei.com>
parent 6285132a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -620,7 +620,7 @@ int hns_roce_cleanup_bond(struct hns_roce_bond_group *bond_grp)
	cancel_delayed_work(&bond_grp->bond_work);
	ret = remove_bond_id(bond_grp->bus_num, bond_grp->bond_id);
	if (ret)
		BOND_ERR_LOG("failed to remove bond id %d, ret = %d.\n",
		BOND_ERR_LOG("failed to remove bond id %u, ret = %d.\n",
			     bond_grp->bond_id, ret);

	completion_no_waiter = completion_done(&bond_grp->bond_work_done);