projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7790537
)
RDMA/hns: Fix some white space check_mtu_validate()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Fri, 16 Aug 2019 11:39:07 +0000
(14:39 +0300)
committer
Doug Ledford
<dledford@redhat.com>
Tue, 20 Aug 2019 16:57:09 +0000
(12:57 -0400)
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>
drivers/infiniband/hw/hns/hns_roce_qp.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/hns/hns_roce_qp.c
b/drivers/infiniband/hw/hns/hns_roce_qp.c
index
ec6b5dd
..
ba81768
100644
(file)
--- 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) ||