Received: by 2002:a4a:311b:0:0:0:0:0 with SMTP id k27-v6csp4697352ooa; Tue, 14 Aug 2018 09:19:15 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwsBNttM5B3n+oQvERwbDA4yzifzKqVi60QvViIIqYqbCly4T0HSWEMz0OZCB3U1w/zFz7v X-Received: by 2002:a62:3306:: with SMTP id z6-v6mr23546296pfz.85.1534263555058; Tue, 14 Aug 2018 09:19:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534263555; cv=none; d=google.com; s=arc-20160816; b=VUfmJnGyveSgpcM2vCEufueINoUnh7O8JsQx5u3UH6+h3BMQzvXWIOPcdF/wKQcDkb SgRjLNbCF47ZZs3iUJQuDPy1V1mzuHp47R8u5b7xaxZ9KLumpROBQhbRvYlSEB+8zq8T D5zmQM1Vd7kD1OIHCMFviu6x5tF70SVYNLQXYdjHBejxkZ4tuot09Ss0Z7j57vFOZdSX SFToZXdKkwzotULMBLz2WFk9NmkLz9sx3jcKCNlkVPES6HzBF5JBa0D3uYc9Iw97epTU yDQ4bHFQPbkQhI08pUt5a+Bg82YIPZVYZpcqMeryA8OmfV1fcq/SVQ+lAbMrN3iHQ+LN Hwrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=qA4KlK+OgkKyZn2a/yUfdu3TQ/nKLPoKLvpMMFyeAm4=; b=ryFN4Oo8ZfgtuT0Fn5TnDA684NJvJd2wjOcExYeHzTj8S2xECbMoQPH2bXKSxuBA0y mIgW4R8/4QA/thqAIuyNmyCpPGUZRcQ8JUfbvyKxMITIi1ZHwkTgMB8vIMdCcguNhPNC WFUdO/9T2lkDT498irDmMkb0Lnb81T84jLAskjwdcaP5XjU5n4RncRvK3YLIrOHmwfzN WdVlq+mxKinCvWcrb8aeKdgaZbafksao/4txMrrJlRSOvq5wXPfIqLioNiBihGL2liE2 k6uF8JH7FKjwssq9ulwtv7CYCPWgRH0nGzDpSDVh2dWnnPD6KCRs+MYxJsXbkEyGwBLx EHnQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c5-v6si20720185pgk.327.2018.08.14.09.18.59; Tue, 14 Aug 2018 09:19:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732615AbeHNTF7 convert rfc822-to-8bit (ORCPT + 99 others); Tue, 14 Aug 2018 15:05:59 -0400 Received: from lhrrgout.huawei.com ([185.176.76.210]:2060 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728978AbeHNTF6 (ORCPT ); Tue, 14 Aug 2018 15:05:58 -0400 Received: from LHREML710-CAH.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 77B04476A9B4B; Tue, 14 Aug 2018 17:18:06 +0100 (IST) Received: from FRAEMA707-CHM.china.huawei.com (10.206.14.56) by LHREML710-CAH.china.huawei.com (10.201.108.33) with Microsoft SMTP Server (TLS) id 14.3.399.0; Tue, 14 Aug 2018 17:18:07 +0100 Received: from FRAEML521-MBX.china.huawei.com ([169.254.1.135]) by FRAEMA707-CHM.china.huawei.com ([169.254.7.74]) with mapi id 14.03.0399.000; Tue, 14 Aug 2018 18:17:55 +0200 From: Salil Mehta To: David Miller CC: "Zhuangyuzeng (Yisen)" , "lipeng (Y)" , "mehta.salil.lnk@gmail.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Linuxarm , linyunsheng Subject: RE: [PATCH net-next 1/9] net: hns3: Add support for serdes loopback selftest Thread-Topic: [PATCH net-next 1/9] net: hns3: Add support for serdes loopback selftest Thread-Index: AQHUMiGisAb3aZHHdk6UpTErYM83c6S9tisAgAG5jzA= Date: Tue, 14 Aug 2018 16:17:55 +0000 Message-ID: References: <20180812094738.14852-1-salil.mehta@huawei.com> <20180812094738.14852-2-salil.mehta@huawei.com> <20180813.085456.1905254242911513146.davem@davemloft.net> In-Reply-To: <20180813.085456.1905254242911513146.davem@davemloft.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.202.226.54] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dave, > -----Original Message----- > From: David Miller [mailto:davem@davemloft.net] > Sent: Monday, August 13, 2018 4:55 PM > To: Salil Mehta > Cc: Zhuangyuzeng (Yisen) ; lipeng (Y) > ; mehta.salil.lnk@gmail.com; > netdev@vger.kernel.org; linux-kernel@vger.kernel.org; Linuxarm > ; linyunsheng > Subject: Re: [PATCH net-next 1/9] net: hns3: Add support for serdes > loopback selftest > > From: Salil Mehta > Date: Sun, 12 Aug 2018 10:47:30 +0100 > > > -#define HNS3_SELF_TEST_TPYE_NUM 1 > > +#define HNS3_SELF_TEST_TPYE_NUM 2 Sure, fixed in V2. Thanks. > > Is this supposed to be the number of self test "types"? If so, this > CPP > macro should be named "HNS3_SELF_TEST_TYPE_NUM". > > > + > > + count ++; > ^ > > Please remove that unnecessary space Sure, fixed in V2 version, thanks. > > > + } while (++i < HCLGE_SERDES_RETRY_NUM && > ^^ > > Only need one space there, not two. Thank you. Fixed in V2. Best regards Salil