linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] RDMA/hns: Fix some white space check_mtu_validate()
@ 2019-08-16 11:39 Dan Carpenter
  2019-08-20 16:57 ` Doug Ledford
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2019-08-16 11:39 UTC (permalink / raw)
  To: Lijun Ou
  Cc: Wei Hu(Xavier),
	Doug Ledford, Jason Gunthorpe, linux-rdma, linux-kernel,
	kernel-janitors

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

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] RDMA/hns: Fix some white space check_mtu_validate()
  2019-08-16 11:39 [PATCH] RDMA/hns: Fix some white space check_mtu_validate() Dan Carpenter
@ 2019-08-20 16:57 ` Doug Ledford
  0 siblings, 0 replies; 2+ messages in thread
From: Doug Ledford @ 2019-08-20 16:57 UTC (permalink / raw)
  To: Dan Carpenter, Lijun Ou
  Cc: Wei Hu(Xavier),
	Jason Gunthorpe, linux-rdma, linux-kernel, kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 339 bytes --]

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.

-- 
Doug Ledford <dledford@redhat.com>
    GPG KeyID: B826A3330E572FDD
    Fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-20 16:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-16 11:39 [PATCH] RDMA/hns: Fix some white space check_mtu_validate() Dan Carpenter
2019-08-20 16:57 ` Doug Ledford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).