[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190816113907.GA30799@mwanda>
Date: Fri, 16 Aug 2019 14:39:07 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Lijun Ou <oulijun@...wei.com>
Cc: "Wei Hu(Xavier)" <xavier.huwei@...wei.com>,
Doug Ledford <dledford@...hat.com>,
Jason Gunthorpe <jgg@...pe.ca>, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: [PATCH] RDMA/hns: Fix some white space check_mtu_validate()
This line was indented a bit too far.
Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
---
drivers/infiniband/hw/hns/hns_roce_qp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/hns/hns_roce_qp.c b/drivers/infiniband/hw/hns/hns_roce_qp.c
index b729f8ef90a2..f972127edbf6 100644
--- a/drivers/infiniband/hw/hns/hns_roce_qp.c
+++ b/drivers/infiniband/hw/hns/hns_roce_qp.c
@@ -1080,7 +1080,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) ||
--
2.20.1
Powered by blists - more mailing lists