[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <babbab54-f8b3-24a4-56b6-95d8a0db6307@linux.dev>
Date: Thu, 6 Jul 2023 15:46:23 +0800
From: Zhu Yanjun <yanjun.zhu@...ux.dev>
To: Minjie Du <duminjie@...o.com>,
Mustafa Ismail <mustafa.ismail@...el.com>,
Shiraz Saleem <shiraz.saleem@...el.com>,
Jason Gunthorpe <jgg@...pe.ca>,
Leon Romanovsky <leon@...nel.org>,
"open list:INTEL ETHERNET PROTOCOL DRIVER FOR RDMA"
<linux-rdma@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Cc: opensource.kernel@...o.com
Subject: Re: [PATCH v1] infiniband: irdma: Remove a duplicate assignment in
irdma_query_ah()
在 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@...o.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));
> }
Powered by blists - more mailing lists