From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D87B4A00BE; Mon, 27 Apr 2020 15:46:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A8DF21D53A; Mon, 27 Apr 2020 15:46:15 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 7EB431D538 for ; Mon, 27 Apr 2020 15:46:14 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03RDeOMU016853; Mon, 27 Apr 2020 06:46:13 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=dL5bRLV66h1HINMyx/VWhsJ/QaoG7zV2xuTcvCoX1Vw=; b=cfZCDhf8T23KmvRXKFt+TNU7NQ+R67teZP++7AELtXRTjAYavg5ul6oA0+8gqEylNfw5 d3MkuyzZCmG8vUkydeO9ZXKCbr79jqRxSbCZKdAwbUg3QAFn8S9omj72I7xS5asvQpL0 xD+VO08yMcdw7+1JkN0cqt+7qwSEOPquJXAS4GpOy5UNkfV8z7b3tKr1hLtnDS6GXxK6 5P/Ozt5WEiD7cifLIDAVFa3Xyv7B+CIRW7XBK2cRx/cCZuGnk8xLvlwTYBmhHgTzKsCq TNg9uweCj2m1KpQ7ZXpml6BM9Mo2qP0nL0fv284j3Q6iiE6TzbZixGMDLMNcIrFUKccq rQ== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 30mmqmfb7p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 27 Apr 2020 06:46:13 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 27 Apr 2020 06:46:11 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 27 Apr 2020 06:46:10 -0700 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.59) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 27 Apr 2020 06:46:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZzaGDf5F/JswDUb2TWb4GTgrx0CtCW9zXaPuAm5jrBWqu1wiszysF0qjZOq2o7e9hdmtniC/KdOt3dCJy+RMyVRmXe/V+k5jYQkKd8rraYt3T1X9cOjNPlPbV1eFbUQWfXre6FuTpuizu6XKpymaJChxWsRz0wW+FeSgK9n8xv5J3J/bEFz0dEoPBVLgQ6L5aqjwdFB45WQiv5EfNxgwMgNFo+QGIcRFZVR3a5UbZKQKBK+wNe4tBeTajpAzCevH+bzVElta+CiRhdGNZIbs7Fr3i7ctLPZ5Wju3dJOIB5bay1S7G4s0la6B1h3H6fE58tzX+zGmFdNmnFyrX0Q6iQ== 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-SenderADCheck; bh=dL5bRLV66h1HINMyx/VWhsJ/QaoG7zV2xuTcvCoX1Vw=; b=BPaA2SPHORK6T8FuKsM7yzX/50J72d9NouD8YzSSz0DkkbQWhczMcIStaFOxk5kKXV+k7JrNSgR8+njqpi/9cFhFFc2aCnVjpHXo9w9/daEjy951KZAo5OV8kPEDI8t8fETko0gCtvI7MZP+m7Bf/8H7OZ7sAKc+XFYsJQjcY5Wk3OYLTZzcAlQrUzcQHw+IjdeLB9RJGCk4lKSN6C2Dj3HpaQhZGn/i1awlUqgd+okNzT0QypljJGoButof38pFqJSWVvaO0AHJt2ClmGe6gZ84ht0DX7mbWAlmohe/iXaKzWdN7Cx+Wpx/5yN1hbMmDr5tIm6yPwwQYWWbEWOGwg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dL5bRLV66h1HINMyx/VWhsJ/QaoG7zV2xuTcvCoX1Vw=; b=iIB13xC79IcvvNeG1kXFLfYXwAvYh+4RmYLdjmz6gYo5MO7VMe6z4tIgiMEQ4ZVQsFy6QBQGFMKvy/67HCEnAGs/hbv7T4OFM/m2ntJzMJI6ZeN9sIahcn+woXz5W/qLhS41Utw9hOSaiuXbK+1lC94OJ9sxYqBIaUmZR+EJYy0= Received: from BY5PR18MB3105.namprd18.prod.outlook.com (2603:10b6:a03:1a4::30) by BY5PR18MB3123.namprd18.prod.outlook.com (2603:10b6:a03:195::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.29; Mon, 27 Apr 2020 13:46:07 +0000 Received: from BY5PR18MB3105.namprd18.prod.outlook.com ([fe80::cc6:c7ae:dc40:7ddf]) by BY5PR18MB3105.namprd18.prod.outlook.com ([fe80::cc6:c7ae:dc40:7ddf%7]) with mapi id 15.20.2937.023; Mon, 27 Apr 2020 13:46:07 +0000 From: Sunil Kumar Kori To: David Marchand CC: Jerin Jacob Kollanukkaran , dev Thread-Topic: [EXT] Re: [dpdk-dev] [PATCH] eal/trace: fix coverity issues Thread-Index: AQHWHIwOeMY19Nu3yEeawX0f879OE6iM5PMAgAAL4aA= Date: Mon, 27 Apr 2020 13:46:07 +0000 Message-ID: References: <20200427120424.22728-1-skori@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2401:4900:1690:2160:48ed:8f1c:ba81:cee2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7ffb8891-ce8d-4705-da38-08d7eab15659 x-ms-traffictypediagnostic: BY5PR18MB3123: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3826; x-forefront-prvs: 0386B406AA x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR18MB3105.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(39850400004)(376002)(396003)(346002)(136003)(366004)(52536014)(316002)(55016002)(9686003)(8676002)(54906003)(5660300002)(186003)(6916009)(76116006)(7696005)(8936002)(4326008)(2906002)(478600001)(71200400001)(86362001)(66946007)(64756008)(66446008)(66476007)(66556008)(81156014)(33656002)(6506007); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7bg/ra71nrUxOzm2XIHsVFYzEeizdDr7j8VwHJdzNqGKgaWQ3U+mcnlyhcCwOhAKzy0kUXlF22nc6ty8V9YtohcKYRpLmyj1va/b9UcNRtbI1EUBI+Ye2AbKRPXw3vJlVCcvVsqdQjXNbu08zc4UXlQkd5a32HpbYVsQqa5G8ncg356vWZRqlUZP9WTBJecqDXcOEa85crtzVSiLm4kGhf42XCuq0SWORr1znSiIeSIjEW8mf3vU7sD2eyS9hGusCkMg7HIFalmoAMQ5AiuIxti1KZ2f8w8GSVaPMIxLQ1vZc//uqvn+WPotlaXLswqw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/O0MCT6vz1nLRSWil+4na+P8z2IBJCpvW9FFVyNS Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 7ffb8891-ce8d-4705-da38-08d7eab15659 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2020 13:46:07.3325 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: r8q6vNAyNNwsrftLeeb1ACwXJq9VfXVmmeIxMitkox0AMjIwu+PGB7XCuCWTJbYPxrWsG5w37z7p+NjWCYHnQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR18MB3123 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-27_10:2020-04-24, 2020-04-27 signatures=0 Subject: Re: [dpdk-dev] [EXT] Re: [PATCH] eal/trace: fix coverity issues X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Pi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+RnJvbTogRGF2aWQgTWFyY2hhbmQgPGRhdmlk Lm1hcmNoYW5kQHJlZGhhdC5jb20+DQo+U2VudDogTW9uZGF5LCBBcHJpbCAyNywgMjAyMCA1OjU2 IFBNDQo+VG86IFN1bmlsIEt1bWFyIEtvcmkgPHNrb3JpQG1hcnZlbGwuY29tPg0KPkNjOiBKZXJp biBKYWNvYiBLb2xsYW51a2thcmFuIDxqZXJpbmpAbWFydmVsbC5jb20+OyBkZXYgPGRldkBkcGRr Lm9yZz4NCj5TdWJqZWN0OiBbRVhUXSBSZ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W4ob3B0YXJnKSA+PSBzaXplKSB7DQo+LSAgICAgICAgICAgICAg IHRyYWNlX2VycigiaW5wdXQgc3RyaW5nIGlzIHRvbyBiaWciKTsNCj4tICAgICAgICAgICAgICAg cmV0dXJuIC1FTkFNRVRPT0xPTkc7DQo+LSAgICAgICB9DQo+LQ0KPi0gICAgICAgZGlyX3BhdGgg PSAoY2hhciAqKWNhbGxvYygxLCBzaXplKTsNCj4tICAgICAgIGlmIChkaXJfcGF0aCA9PSBOVUxM KSB7DQo+LSAgICAgICAgICAgICAgIHRyYWNlX2VycigiZmFpbCB0byBhbGxvY2F0ZSBtZW1vcnki KTsNCj4rICAgICAgIHJjID0gYXNwcmludGYoJmRpcl9wYXRoLCAiJXMvIiwgb3B0YXJnKTsNCj4r ICAgICAgIGlmIChyYyA9PSAtMSkgew0KPisgICAgICAgICAgICAgICB0cmFjZV9lcnIoImZhaWxl ZCB0byBjb3B5IGRpcmVjdG9yeTogJXMiLCBzdHJlcnJvcihlcnJubykpOw0KPiAgICAgICAgICAg ICAgICByZXR1cm4gLUVOT01FTTsNCj4gICAgICAgIH0NCj4NCj4tICAgICAgIHNwcmludGYoZGly X3BhdGgsICIlcy8iLCBvcHRhcmcpOw0KPi0gICAgICAgcmMgPSB0cmFjZV9kaXJfdXBkYXRlKGRp cl9wYXRoKTsNCj4rICAgICAgIGlmICgoc2l6ZV90KXJjID49IHNpemVvZih0cmFjZS0+ZGlyKSkg ew0KPisgICAgICAgICAgICAgICB0cmFjZV9lcnIoImlucHV0IHN0cmluZyBpcyB0b28gYmlnIik7 DQo+KyAgICAgICAgICAgICAgIHJjID0gLUVOQU1FVE9PTE9ORzsNCj4rICAgICAgIH0gZWxzZSB7 DQo+KyAgICAgICAgICAgICAgIHJjID0gdHJhY2VfZGlyX3VwZGF0ZShkaXJfcGF0aCk7DQo+KyAg ICAgICB9DQo+DQo+ICAgICAgICBmcmVlKGRpcl9wYXRoKTsNCj4gICAgICAgIHJldHVybiByYzsN Cj4NCj4NCj4NCj4tLQ0KPkRhdmlkIE1hcmNoYW5kDQoNCg==