Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp30134575rwd; Thu, 6 Jul 2023 01:07:59 -0700 (PDT) X-Google-Smtp-Source: APBJJlFSb3ZHcERmRS97uSimqA7UclUKGL1Pp6yVkHpPHzBQd7chvkt5rQ6GW33PkZud0tC1YSOM X-Received: by 2002:a92:cf05:0:b0:345:6e49:30d2 with SMTP id c5-20020a92cf05000000b003456e4930d2mr1375634ilo.10.1688630878746; Thu, 06 Jul 2023 01:07:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688630878; cv=none; d=google.com; s=arc-20160816; b=ZzTAt1LUJB31Q/8tXE29qYxqjNY+hyuHjpNoEVJvOCB3bRFUVS752lyAF0UbiyPliO pphzhtNC6+G+ZseCJjsEDbhWqYvAX8yUH+kY3/ltv/Uj5XVpOQ1EQI7VIjx9EpkiVOWR kKjE1HTLiKBLpPAii3cOWK1jbky5qoE/h1J/oVt6BbymaOWs2A1ePnFSVsdCySlpQ00z uyGMO6sI7LSihyPJcP8aS2CBuGqWibYjhwCe4GW7jwclgMnsg6ZjrIzvEf3yCxktugJ6 fJ/XxyTgZkQ2lMwZfvsTRpgAG4gQUTeuzSbFAWobG22/h9YM3oZl9ep6WmvvDF5RM1cK WT2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:mime-version:date:dkim-signature :message-id; bh=mSFPEWACQpchhembCD7557WcJ8CIvjd+YhpuCa5eWqc=; fh=4VHrBx2HhDiz2d7mYgMX6yaQvccr6oOgrwh+6D6T4Hk=; b=CSiY/c5E4YAS//lMz1ErcCwU4jAdaKF2cAute2ljn7jUog96XLJ0cZeNgMqgLilHfA dAz/sNG/EQW9sMTmdM0leqLod3dUvO6uaBwwvRjRjlxPyW8jLzZ1br94we21iEf+qfd/ kDol+kTNGXLyoczwJbp3wUokMRrPcI7XLasbiM/ZcWEkFha34udh9qb9JJt28xDvSm05 vUSLiYUK9URF5qG/cl8LXwYVNcPgzZ/6Q7P8K7f1IhQgBO/1Mdm/9Q6iFCm+aSYMq3Wr ktuHsjRYn8MDPNDLQkbs99dfpu+xo5G8uCgMk9mh9vbk+NRC0kkSQ5fjMPJuCLtEjqlK MB0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ba7U0BSK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020a63f508000000b005347d133470si940028pgh.385.2023.07.06.01.07.45; Thu, 06 Jul 2023 01:07:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ba7U0BSK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233695AbjGFHxd (ORCPT + 99 others); Thu, 6 Jul 2023 03:53:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbjGFHxc (ORCPT ); Thu, 6 Jul 2023 03:53:32 -0400 X-Greylist: delayed 414 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 06 Jul 2023 00:53:31 PDT Received: from out-32.mta0.migadu.com (out-32.mta0.migadu.com [91.218.175.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 923061BE4 for ; Thu, 6 Jul 2023 00:53:31 -0700 (PDT) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1688629593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mSFPEWACQpchhembCD7557WcJ8CIvjd+YhpuCa5eWqc=; b=ba7U0BSKt4uErWaG6b2V1oRqFQQBHmB2BivIVGnrj1HW+43NEnz/olQ6k7Mi2mqSzlAqSq ejUH2qVH67rYE/yS+Eryyn+v+iqYXv8+2eRQ2d75OUYXE85IxSmxY23/iTA18oh0WQokEf MbKxX8QobiIs68j12M+Dw34ZH06YpJo= Date: Thu, 6 Jul 2023 15:46:23 +0800 MIME-Version: 1.0 Subject: Re: [PATCH v1] infiniband: irdma: Remove a duplicate assignment in irdma_query_ah() To: Minjie Du , Mustafa Ismail , Shiraz Saleem , Jason Gunthorpe , Leon Romanovsky , "open list:INTEL ETHERNET PROTOCOL DRIVER FOR RDMA" , open list Cc: opensource.kernel@vivo.com References: <20230706022704.1260-1-duminjie@vivo.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Zhu Yanjun In-Reply-To: <20230706022704.1260-1-duminjie@vivo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 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 > --- > 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)); > }