diff mbox series

RDMA/hns: Fix some white space check_mtu_validate()

Message ID 20190816113907.GA30799@mwanda (mailing list archive)
State Mainlined
Commit a7325af725e83ae1a4e7a2290250dd1c952b672d
Headers show
Series RDMA/hns: Fix some white space check_mtu_validate() | expand

Commit Message

Dan Carpenter Aug. 16, 2019, 11:39 a.m. UTC
This line was indented a bit too far.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
 drivers/infiniband/hw/hns/hns_roce_qp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Doug Ledford Aug. 20, 2019, 4:57 p.m. UTC | #1
On Fri, 2019-08-16 at 14:39 +0300, Dan Carpenter wrote:
> This line was indented a bit too far.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Thanks, applied to for-next.
diff mbox series

Patch

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) ||