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 116EF432BE; Tue, 7 Nov 2023 01:18:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A7594402BC; Tue, 7 Nov 2023 01:18:52 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 49A08402A1 for ; Tue, 7 Nov 2023 01:18:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699316330; x=1730852330; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=XGg+5TmDFcbh6XgpsQaobHimzdWBclqNcGS+070s9HY=; b=TmNWoOtrHGO25GUW2196PRX4YPm3cSx34f19VFT8kkvojRxr0Gji6SlI gMwO4Z4OaxDSukR0rU6TBz+QdXtU2Mccnvwna5+lAvA0Izn1qSBHiChbh AvhR2HQYl4L+Z084VSjeR2h8WKXoL9hoEzf7b7Tj+Al7f115ZIaXdiPLk zLYIeqQrfZbd0G1b/Qd4oVt5fAKm4to1CbG1jY6+TzzBEtNxDCkCphj5z IJd7ab0eMc/N21X/zH0IPq/N9gHJHBIVoLdCFBFiKz1XCrFimEALphZVt 9O6zzENJrme5iR2RiaU08VqCK2rv9MYUouzsxNECDvqdS3VOCsd0BWEjw g==; X-IronPort-AV: E=McAfee;i="6600,9927,10886"; a="374424655" X-IronPort-AV: E=Sophos;i="6.03,282,1694761200"; d="scan'208";a="374424655" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2023 16:18:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10886"; a="906225536" X-IronPort-AV: E=Sophos;i="6.03,282,1694761200"; d="scan'208";a="906225536" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga001.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 06 Nov 2023 16:18:46 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 6 Nov 2023 16:18:45 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 6 Nov 2023 16:18:45 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Mon, 6 Nov 2023 16:18:45 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Mon, 6 Nov 2023 16:18:45 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dG+YCJe1OsBIlZJNekDme0B4Oa/QIyivE+SEN4qijzEjJCe3sad7FJjoCaaEnT0UdYe0BcIV8ACCGd0txRrvIcQoLXOIRvTlN2aNOxg76EgmgfaON3k8WbaZswMPtz7mO43T3FF1RFqZvx77+scErVM6HWHu9+ZwJPRG/3TxGzB9pRDIh3eJPsEHt7wclWpCcZxNvhG0do1QoByHPwMgrymsQ920G3T4mywzu4tMlyNJh34sbsrf+sbyTLgSU09BmeF27oTqsM3QwdmfWZAkZarET+L6hxybC7nng2B0PrAKaCG+yhoy4Q8zydCcfWrLe/4WMzVcRr4xyZX1evPVKw== 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=XGg+5TmDFcbh6XgpsQaobHimzdWBclqNcGS+070s9HY=; b=oFJRrDRFpgMpIqJyt7VxU4HBkTZT0bHmdxGwx2NcEiFz8X6KEEE1MTXFMbtVFmBodMiAHKFAuzfNKxClYvhwMvkv7qoSWUA4Gyv9iBUngg2M7Qm/Eh/IGM3cCBXQ0wVb2s4DzO9EAhv9K+bmfiWffKanh1JIJYI3FQZYf0+tUxIl/G6IR3od/kjxoNPDAT3O0ehGgHtAnTsRsD6Eci+wBLOHbEQewFvbm0542utAEI5l4KRrWR1TyRdxHvraZS+Dl8LyjKYgot5rCZZqzblBiUWqtp7FfDz3l5xSaCCyWH+gQESyCgntpQFHNaawxeKKh3vsunVfLKmi/Lkzum8a8w== 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 DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by MW4PR11MB5821.namprd11.prod.outlook.com (2603:10b6:303:184::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.28; Tue, 7 Nov 2023 00:18:43 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::62e2:b53a:6a07:f136]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::62e2:b53a:6a07:f136%6]) with mapi id 15.20.6954.024; Tue, 7 Nov 2023 00:18:43 +0000 From: "Zhang, Qi Z" To: "Qiao, Wenjing" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" , "Zhang, Yuying" Subject: RE: [PATCH] net/cpfl: fix coverity issues Thread-Topic: [PATCH] net/cpfl: fix coverity issues Thread-Index: AQHaEJgfrq1HwLnv3Uq4ZURR6E6kdbBt/o3Q Date: Tue, 7 Nov 2023 00:18:42 +0000 Message-ID: References: <20231106095933.962565-1-wenjing.qiao@intel.com> In-Reply-To: <20231106095933.962565-1-wenjing.qiao@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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: DM4PR11MB5994:EE_|MW4PR11MB5821:EE_ x-ms-office365-filtering-correlation-id: 5ed98615-92f3-4c55-f2f7-08dbdf27199f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: h550B4LKQB7/rI17cREWb7AA+dII8cKvLtvD8CSL59ySLKEPAPJU0rNtI7pWf14ORNbDQmuiINGOZwO5MeQzt+Er4eGxEezrhWQhk4Wmmvip3WlwB8F/aAMEW+bKqVB3Nu7DWdniowGNgsM8zQoE8ORn9s9I7U5px6hgcJx/vI/KCJ26pbpMDC6/BD3/n8cpUCuaAzwDzD4HpBU8WHA8LKHCEbHf6eqIjIrIk1M4cvj+EGop+rjn96a2Gu9rQ+gNxv4aspIzaET/mf4H7RgYnWA3u1F6yI2bzjJQ25R68Qkl/L6VIFayzs3Zg+XEnsi/ZSlOBEgwPXwEjQKDGnFsnw073a3OTb+qwz2Lwpwq4sHqc7EVJxzcBUlEnTcySGqazw3N3/qF2/Pl3X0br2iUCbTtm1GrhzeQmBF+i6YNjOl7G+rEtF0s0KAtU1AXoS4/MfkY8D7H1dpvl66G+2AUoBr6oYiROYB5FyehyG81iWK/7kIYp0mbVMTqshHG3Vr5AFNzsyafG7Uz/YTtdHw7eqFgtCOy+VA2vDPr82Hn5eqL2ytTeV2JiFDbbw8Ha3m8HMHjyFI/+FEr97RAXdb5JX53aAB982frhhbXU9b7bDlqxr13MkKe4csgYFQDFWW/ x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(346002)(376002)(396003)(366004)(136003)(230922051799003)(64100799003)(1800799009)(186009)(451199024)(76116006)(83380400001)(53546011)(107886003)(110136005)(9686003)(66946007)(26005)(478600001)(55016003)(6506007)(4326008)(71200400001)(52536014)(8936002)(8676002)(66556008)(64756008)(54906003)(66476007)(66446008)(316002)(6636002)(7696005)(5660300002)(4744005)(41300700001)(38100700002)(122000001)(82960400001)(86362001)(2906002)(38070700009)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?BY+VKM12EDB39YIkpYXAKdjMS765yHZzeuGA9wSiCwAP09UwiInXqjgsIK41?= =?us-ascii?Q?Et/3QMVF6T6clL7fUJvV6ULQIwGPqzqr+3b2SFeJCMKoLkaiP2u78COK2I2C?= =?us-ascii?Q?mlfViJHJfNag2lMx/5UtH5HTxT/5nqtQVEc2I0ZTdNJebgKdlXTIBTNeiQ2u?= =?us-ascii?Q?cQ4xuRu1Y+VZrFJZgfFOdlqBMM2S1NNwUsx3VVgqa5h0owlqGiBiV2HEXLrX?= =?us-ascii?Q?mFISLO1t12CyQ8gwNie3LnebCx1vWR297O1Nd6NUYeSMR+o6YE8Yol4QyENz?= =?us-ascii?Q?go9Anh701j/ix8wvBYPiJmkB10RQ9QBxWrXR3f4jwET5oZJJz/9OvYO9Bu+Z?= =?us-ascii?Q?6OfBkQnKTD7OPtVzWlYuM/nj4RHiIraWz2CjygiWT/9CiP4DlH6TWFpoLX5j?= =?us-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nMpSCHtEQhFl9LbP71TZUoO1Y1?= =?us-ascii?Q?r2mnNh6MqTpJ+PTAVt/kFQXbvKxIx8ovw0hxvAmpudBDudvpouXJ3nfB14nH?= =?us-ascii?Q?UO7sIaWHwMmiVx3kuPzR5+i2cQRMNHCI1LFVeEvlrIpYQgUIdB+5BLpus7an?= =?us-ascii?Q?WkQ685V8HzUBCbTdQ9eq7AoW8hE5FmIk9iuXNQ97qTXw+Wg08mzFxiHs0uJ/?= =?us-ascii?Q?Ejx9/9ECFQW9FWLvHS8SGU/R/cSASHwVjQNjKzKCYmlR9NH4ilhXKDEyC3FG?= =?us-ascii?Q?ja+YrVk3liD0Ve+l7AA3yhxbOsswhFf6BHB7FG5A?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ed98615-92f3-4c55-f2f7-08dbdf27199f X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Nov 2023 00:18:42.9262 (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: xCawnpQTeUtMHptVksxmFjnqLu7uA6M2Fy7d2l2qtrlsihcUSGF3+iYx97sgWbkV57KrmSHA8U1tA9JGAbfN0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR11MB5821 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 > -----Original Message----- > From: Qiao, Wenjing > Sent: Monday, November 6, 2023 6:00 PM > To: Wu, Jingjing ; Xing, Beilei ; > Zhang, Qi Z > Cc: dev@dpdk.org; Zhang, Yuying ; Qiao, Wenjing > > Subject: [PATCH] net/cpfl: fix coverity issues >=20 > From: Wenjing Qiao >=20 > Fix integer handling issues, tainted_scalar issues, uninit issues, overru= n issues > and control flow issues reported by coverity scan. >=20 > Coverity issue: 403259 > Coverity issue: 403261 > Coverity issue: 403266 > Coverity issue: 403267 > Coverity issue: 403271 > Coverity issue: 403274 > Fixes: db042ef09d26 ("net/cpfl: implement FXP rule creation and destroyin= g") > Fixes: 03f976012304 ("net/cpfl: adapt FXP to flow engine") Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi