* [PATCH v1] infiniband: irdma: Remove a duplicate assignment in irdma_query_ah()
@ 2023-07-06 2:27 Minjie Du
2023-07-06 7:46 ` Zhu Yanjun
2023-07-12 12:10 ` Leon Romanovsky
0 siblings, 2 replies; 3+ messages in thread
From: Minjie Du @ 2023-07-06 2:27 UTC (permalink / raw)
To: Mustafa Ismail, Shiraz Saleem, Jason Gunthorpe, Leon Romanovsky,
open list:INTEL ETHERNET PROTOCOL DRIVER FOR RDMA, open list
Cc: opensource.kernel, Minjie Du
Delete a duplicate statement from this function implementation.
Signed-off-by: Minjie Du <duminjie@vivo.com>
---
drivers/infiniband/hw/irdma/verbs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/infiniband/hw/irdma/verbs.c b/drivers/infiniband/hw/irdma/verbs.c
index 9c4fe4fa9..a8326a95d 100644
--- a/drivers/infiniband/hw/irdma/verbs.c
+++ b/drivers/infiniband/hw/irdma/verbs.c
@@ -4424,7 +4424,6 @@ static int irdma_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr)
ah_attr->grh.traffic_class = ah->sc_ah.ah_info.tc_tos;
ah_attr->grh.hop_limit = ah->sc_ah.ah_info.hop_ttl;
ah_attr->grh.sgid_index = ah->sgid_index;
- ah_attr->grh.sgid_index = ah->sgid_index;
memcpy(&ah_attr->grh.dgid, &ah->dgid,
sizeof(ah_attr->grh.dgid));
}
--
2.39.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1] infiniband: irdma: Remove a duplicate assignment in irdma_query_ah()
2023-07-06 2:27 [PATCH v1] infiniband: irdma: Remove a duplicate assignment in irdma_query_ah() Minjie Du
@ 2023-07-06 7:46 ` Zhu Yanjun
2023-07-12 12:10 ` Leon Romanovsky
1 sibling, 0 replies; 3+ messages in thread
From: Zhu Yanjun @ 2023-07-06 7:46 UTC (permalink / raw)
To: Minjie Du, Mustafa Ismail, Shiraz Saleem, Jason Gunthorpe,
Leon Romanovsky,
open list:INTEL ETHERNET PROTOCOL DRIVER FOR RDMA, open list
Cc: opensource.kernel
在 2023/7/6 10:27, Minjie Du 写道:
> Delete a duplicate statement from this function implementation.
>
Please add "Fixes ".
Zhu Yanjun
> Signed-off-by: Minjie Du <duminjie@vivo.com>
> ---
> drivers/infiniband/hw/irdma/verbs.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/infiniband/hw/irdma/verbs.c b/drivers/infiniband/hw/irdma/verbs.c
> index 9c4fe4fa9..a8326a95d 100644
> --- a/drivers/infiniband/hw/irdma/verbs.c
> +++ b/drivers/infiniband/hw/irdma/verbs.c
> @@ -4424,7 +4424,6 @@ static int irdma_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr)
> ah_attr->grh.traffic_class = ah->sc_ah.ah_info.tc_tos;
> ah_attr->grh.hop_limit = ah->sc_ah.ah_info.hop_ttl;
> ah_attr->grh.sgid_index = ah->sgid_index;
> - ah_attr->grh.sgid_index = ah->sgid_index;
> memcpy(&ah_attr->grh.dgid, &ah->dgid,
> sizeof(ah_attr->grh.dgid));
> }
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1] infiniband: irdma: Remove a duplicate assignment in irdma_query_ah()
2023-07-06 2:27 [PATCH v1] infiniband: irdma: Remove a duplicate assignment in irdma_query_ah() Minjie Du
2023-07-06 7:46 ` Zhu Yanjun
@ 2023-07-12 12:10 ` Leon Romanovsky
1 sibling, 0 replies; 3+ messages in thread
From: Leon Romanovsky @ 2023-07-12 12:10 UTC (permalink / raw)
To: Mustafa Ismail, Shiraz Saleem, Jason Gunthorpe, linux-rdma,
linux-kernel, Minjie Du
Cc: opensource.kernel
On Thu, 06 Jul 2023 10:27:03 +0800, Minjie Du wrote:
> Delete a duplicate statement from this function implementation.
>
>
Applied, thanks!
[1/1] infiniband: irdma: Remove a duplicate assignment in irdma_query_ah()
https://git.kernel.org/rdma/rdma/c/34c2ce4c6e3cd2
Best regards,
--
Leon Romanovsky <leon@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-12 12:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-06 2:27 [PATCH v1] infiniband: irdma: Remove a duplicate assignment in irdma_query_ah() Minjie Du
2023-07-06 7:46 ` Zhu Yanjun
2023-07-12 12:10 ` Leon Romanovsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®