aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hns/hns_roce_qp.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-08-16 14:39:07 +0300
committerDoug Ledford <dledford@redhat.com>2019-08-20 12:57:09 -0400
commita7325af725e83ae1a4e7a2290250dd1c952b672d (patch)
tree0091f23982108316ca05d9beade1592bde146719 /drivers/infiniband/hw/hns/hns_roce_qp.c
parentRDMA/hns: Remove unuseful member (diff)
downloadlinux-dev-a7325af725e83ae1a4e7a2290250dd1c952b672d.tar.xz
linux-dev-a7325af725e83ae1a4e7a2290250dd1c952b672d.zip
RDMA/hns: Fix some white space check_mtu_validate()
This line was indented a bit too far. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20190816113907.GA30799@mwanda Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/hw/hns/hns_roce_qp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_qp.c b/drivers/infiniband/hw/hns/hns_roce_qp.c
index ec6b5dd3f442..ba8176869f51 100644
--- a/drivers/infiniband/hw/hns/hns_roce_qp.c
+++ b/drivers/infiniband/hw/hns/hns_roce_qp.c
@@ -1091,7 +1091,7 @@ static int check_mtu_validate(struct hns_roce_dev *hr_dev,
int p;
p = attr_mask & IB_QP_PORT ? (attr->port_num - 1) : hr_qp->port;
- active_mtu = iboe_get_mtu(hr_dev->iboe.netdevs[p]->mtu);
+ active_mtu = iboe_get_mtu(hr_dev->iboe.netdevs[p]->mtu);
if ((hr_dev->caps.max_mtu >= IB_MTU_2048 &&
attr->path_mtu > hr_dev->caps.max_mtu) ||