From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6D5F1A0542; Fri, 11 Nov 2022 07:23:37 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D1AF40141; Fri, 11 Nov 2022 07:23:37 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 982F4400EF for ; Fri, 11 Nov 2022 07:23:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668147815; x=1699683815; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=SuRxs3aGvPBEF3LaYrZhn8bmFOIZUXMk7lx6jMkDGC0=; b=BObQRgcZo+KQ3SZHl7Xmzu3qKlCm51z0HhG34ObudMB+TJKQvx0JeMJy CYpAACe2F59/jmgCIsf5YHYQNV/fBRHj9MbOg3JLT1PLJO302MtxM2Lxh X+JMfdPdcX54zPvkavrcoEEXnJXjSPOnVcDGBLj6sP6REwSwy0/yHJN4y H46fqAo/frCZ7HnoTXTUbxgi6S6u6fVHI1KwwM+xgLYgmNSFwjjJObEOU ofkQ2s90JjzAwPgePezjWFXnZo7WTqvESCf9Zm5YAqs8AdXrIXX/+uA5g hgb/2GiGsmC3ZSpr6DpVIK/r+V3m9ot4JU605Gnto/AL3nFxF36Fn7B1R A==; X-IronPort-AV: E=McAfee;i="6500,9779,10527"; a="294893190" X-IronPort-AV: E=Sophos;i="5.96,156,1665471600"; d="scan'208";a="294893190" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2022 22:23:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10527"; a="701104979" X-IronPort-AV: E=Sophos;i="5.96,156,1665471600"; d="scan'208";a="701104979" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga008.fm.intel.com with ESMTP; 10 Nov 2022 22:23:34 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 10 Nov 2022 22:23:33 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Thu, 10 Nov 2022 22:23:33 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.109) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Thu, 10 Nov 2022 22:23:33 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cycXTaJ5OSNaEQNiFPqRe9cXjnrG3S4KKgjZDyA7rxbQOSHZh0rNKx+cP0V02DcrXi3LUz031aSqcq3Oo2KJEYu4BVEIGQXWRmcIOxxkYOaGEuYKqRBV8skWGH8dEPO8ctyGIjGQowLORmDRMUVGoa7byJAFS2sc7gnVOuLnBySBM1dvYiCT232AzKOKnVOQmmZgJVrhhY/s5U/dD/cWAk2nA2vCBR0zG0B/qB2VjyceUB+JorjZgQ77gbWpva/SRsHZRy8BYiz75IRBC1jraoyRR9xV3FPWy31hJKyLd4e+hhZz9wkDtj6aa02KafQZp/XxYrxDe1IikeJV5F2psQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TQdibcohicI5dfO3NZ6HCZL9L0fXKk3zPfILzTR/pyI=; b=HQzZPhYMlIt+M5r98K9B/YSnn1gxiK9akBNAHIia+hkTcvERx4zD+oavS0YQUjfxSqQcYLEBDp7++Vz02edI1eExOnmQib33VkXUqeSM9icobwav+dleesUQ0q8Tm8C9MxV9UpewiT5QHZ1PdBApZjDPBGlvBymzzAMh0NEeDYVXW2ItsQZaex46MCbID8u9+0gv+FTw2AY9eCFF/boKZ5lJJtvv8yqOQuy1TmMlHbEgH9Qckadj4hNO4iY2a1id8D9umU9XWNgbyf8zSbmJyxDbINmsCRV2P77Ir4ojf9D7NnePt1rXDtERCiZwRN4PZsrFQwYKjqyDtu4XBKg35g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DM6PR11MB3516.namprd11.prod.outlook.com (2603:10b6:5:72::13) by DS0PR11MB6494.namprd11.prod.outlook.com (2603:10b6:8:c2::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.27; Fri, 11 Nov 2022 06:23:32 +0000 Received: from DM6PR11MB3516.namprd11.prod.outlook.com ([fe80::9f93:b8a6:f860:e660]) by DM6PR11MB3516.namprd11.prod.outlook.com ([fe80::9f93:b8a6:f860:e660%3]) with mapi id 15.20.5813.013; Fri, 11 Nov 2022 06:23:31 +0000 From: "Zhang, Yuying" To: Stephen Hemminger , "dev@dpdk.org" CC: "Xing, Beilei" Subject: RE: [PATCH v3 13/14] net/i40e: fix whitespace Thread-Topic: [PATCH v3 13/14] net/i40e: fix whitespace Thread-Index: AQHY9JKMILzcVrLjn0uIYYTCyHRFcK45QlJg Date: Fri, 11 Nov 2022 06:23:31 +0000 Message-ID: References: <20221109191445.140320-1-stephen@networkplumber.org> <20221109232451.265059-1-stephen@networkplumber.org> <20221109232451.265059-14-stephen@networkplumber.org> In-Reply-To: <20221109232451.265059-14-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR11MB3516:EE_|DS0PR11MB6494:EE_ x-ms-office365-filtering-correlation-id: 07376162-0dfb-4b6c-bdc9-08dac3ad4138 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LkH26EEMKLXSLz8Mc5UCj1GJXiogxVl0vCx2Qcpxc4EgziKCpgSnidD7yWaKIWLFMu5T6tTGVN/49PcKNHEbPLFLRLEUQ5sVakrZle8qpKYIoGioZMVzb29SL3ypHczmvAjd9oySs6sRMw/liDH47Tm/wGPJB18iQmuy4OvbYJNVphFLnjuQVBS3gx2jYiNirxWpmdm60SCPtE/jUJ29HGV18Uws0U3yPFzKCRDiGtt1NMP5lximFuUEgnde/QNHu8NobIOuLutXqqVlhtiy8UPvEheREWG8BMwh4ed+zwh90tAKy370FTxHrs4sBbzgtko/hXy+1yqKMurlcVGF4SyOhAuFZaB4PRgg4E2MYa/kriA1D4brpScB122FCO4wjMLdXPVyeEQhXTJ+5Z2vF+rAxExxW5gfmRoWZ+bnD467u/Emuk9KVCpYnpeJoMbndGWOBjA+LsPIEppt8/03cBv3Y8mcZkUkAeRc53FEPGkGPYgdtyrNxg+fui5FC+6uCWLV6AnlCpAma3tN+Yvv9IfNbTmh1UCUw94684DhesPN8bpbPwWd8Pu6ZDaDiQjpYZMlDQxNtPfOcWboH09FuZeBhMfUWv6EJ4kIOPB4bNwfbDp0/JGaCjDJlPXR5IfE+rQULQMHAuVJuSYAK1ScJLFLgEPl5DHj1VZ2IOYeOtpcqF59DrVOtu1h82wrUjtoWHGtCcQuPieWVnHXDUS78bhvbcfwUVekPLb7fyRFjHqP2BmTlgPH5gLXY3l5KECX9XJjaUaNmFzSP0V+bEkonw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3516.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(376002)(346002)(396003)(366004)(39860400002)(136003)(451199015)(2906002)(66476007)(8676002)(4326008)(110136005)(316002)(86362001)(8936002)(76116006)(66556008)(41300700001)(33656002)(64756008)(66946007)(55016003)(478600001)(71200400001)(5660300002)(38100700002)(122000001)(7696005)(82960400001)(38070700005)(6506007)(107886003)(53546011)(26005)(52536014)(9686003)(83380400001)(186003)(66446008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?YlBFUTFacG4xbUQ1dDhwc2dWWmVZNWFVZlhPM2Z5YUpBNHBZa2tQVnBX?= =?iso-2022-jp?B?cjVkZFBOVUJzcnQ1VUphTStlU3Zid2J5Z0p6eVZ5Vk4xOTdJLzBtUG83?= =?iso-2022-jp?B?ZU1jcHA4SUdnOFVONGIxVy9KK21JM3E0VjJxSWp2WXZ0c29DVlRUQjdl?= =?iso-2022-jp?B?bmZISGxjOStDK2VxV2NkNFphV2VtTE9OVE53RHdsa3IvUFFDbStYRmdZ?= =?iso-2022-jp?B?T2oveURyU2g2eVVQSlBLb2tHRVFsUVNyMG1Rb0ZKUGRkZEV6NmpBdXh5?= =?iso-2022-jp?B?WWlrOFNXaEk1TmdUaVZ3WTNwUWREclk4NlFMc3VOV3g5Y2tOT1dWV3ZN?= =?iso-2022-jp?B?TkJYM2lBNzhiblFMbWhhRm5DNGZQZjM4amV0ZU5nNnhtZUkyR0gydWFh?= =?iso-2022-j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E3Qis0YXB5Zk5oSnExc2VocE5OaUc5VG55c2RKdjBycWRyQUkr?= =?iso-2022-jp?B?M1ZQTWZpNTVuMjFtRm1qcjVYK01LUmxaVVhTcXZXRCtwVGhYcmZ3b0dX?= =?iso-2022-jp?B?WExwcg==?= Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3516.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07376162-0dfb-4b6c-bdc9-08dac3ad4138 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Nov 2022 06:23:31.6873 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: iZ/RvbBcwA7TSDrP5WdRdUMOOFmhygRZG1Zkm1BMnOY+l+x/62o2sMV3cbsPCqaDs03YzvvgLIGYLArHp3tmvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB6494 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi, Could you add fix line and Cc: stable@dpdk.org? The fix looks good to me. > -----Original Message----- > From: Stephen Hemminger > Sent: 2022=1B$BG/=1B(B11=1B$B7n=1B(B10=1B$BF|=1B(B 7:25 > To: dev@dpdk.org > Cc: Stephen Hemminger ; Zhang, Yuying > ; Xing, Beilei > Subject: [PATCH v3 13/14] net/i40e: fix whitespace >=20 > Add space after keywords. >=20 > Signed-off-by: Stephen Hemminger Reviewed-off-by: Yuying Zhang > --- > drivers/net/i40e/i40e_pf.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/drivers/net/i40e/i40e_pf.c b/drivers/net/i40e/i40e_pf.c inde= x > 15d9ff868f3a..7050e0057d8e 100644 > --- a/drivers/net/i40e/i40e_pf.c > +++ b/drivers/net/i40e/i40e_pf.c > @@ -956,7 +956,7 @@ i40e_pf_host_process_cmd_add_vlan(struct i40e_pf_vf > *vf, >=20 > for (i =3D 0; i < vlan_filter_list->num_elements; i++) { > ret =3D i40e_vsi_add_vlan(vf->vsi, vid[i]); > - if(ret !=3D I40E_SUCCESS) > + if (ret !=3D I40E_SUCCESS) > goto send_msg; > } >=20 > @@ -996,7 +996,7 @@ i40e_pf_host_process_cmd_del_vlan(struct i40e_pf_vf > *vf, > vid =3D vlan_filter_list->vlan_id; > for (i =3D 0; i < vlan_filter_list->num_elements; i++) { > ret =3D i40e_vsi_delete_vlan(vf->vsi, vid[i]); > - if(ret !=3D I40E_SUCCESS) > + if (ret !=3D I40E_SUCCESS) > goto send_msg; > } >=20 > @@ -1577,12 +1577,12 @@ i40e_pf_host_init(struct rte_eth_dev *dev) > * return if SRIOV not enabled, VF number not configured or > * no queue assigned. > */ > - if(!hw->func_caps.sr_iov_1_1 || pf->vf_num =3D=3D 0 || pf->vf_nb_qps = =3D=3D 0) > + if (!hw->func_caps.sr_iov_1_1 || pf->vf_num =3D=3D 0 || pf->vf_nb_qps = =3D=3D > +0) > return I40E_SUCCESS; >=20 > /* Allocate memory to store VF structure */ > pf->vfs =3D rte_zmalloc("i40e_pf_vf",sizeof(*pf->vfs) * pf->vf_num, 0); > - if(pf->vfs =3D=3D NULL) > + if (pf->vfs =3D=3D NULL) > return -ENOMEM; >=20 > /* Disable irq0 for VFR event */ > -- > 2.35.1