From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60046.outbound.protection.outlook.com [40.107.6.46]) by dpdk.org (Postfix) with ESMTP id F22411B122 for ; Tue, 23 Oct 2018 08:59:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uLcVpGfO8PGQFYw0wgxjziUF9X5P93312zrytWGoZDw=; b=Wv0tdc5ChdJrygeNTLAnC51j8KMVLnMd+si24fCzZpSPDqUdpzeUJCN+KcB5AWp3d0mteZHxPgorJXkJF1mlIDzvY4k0u8GlAPugMYiUtyjU1kmuUOgSFOpMjTTbDQH/inaQwJp1zd2yIEtrng7nJ4LZ8kHdfpFQryZF5yzX12I= Received: from VI1PR04MB4688.eurprd04.prod.outlook.com (20.177.56.80) by VI1PR04MB1022.eurprd04.prod.outlook.com (10.161.109.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.26; Tue, 23 Oct 2018 06:59:14 +0000 Received: from VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::88ff:b776:3f9c:5bb2]) by VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::88ff:b776:3f9c:5bb2%2]) with mapi id 15.20.1250.028; Tue, 23 Oct 2018 06:59:14 +0000 From: Shreyansh Jain To: Rosen Xu , "dev@dpdk.org" CC: "tianfei.zhang@intel.com" , Hemant Agrawal , "ferruh.yigit@intel.com" Thread-Topic: [dpdk-dev] [PATCH] drivers/raw/ifpga_rawdev: fix coverity issue 323508 Thread-Index: AQHUanLQMIUKYkT+zUSkA7fP7dwca6UsZsqA Date: Tue, 23 Oct 2018 06:59:14 +0000 Message-ID: References: <1540259449-135300-1-git-send-email-rosen.xu@intel.com> In-Reply-To: <1540259449-135300-1-git-send-email-rosen.xu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.142.187.166] x-clientproxiedby: BM1PR01CA0087.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::27) To VI1PR04MB4688.eurprd04.prod.outlook.com (2603:10a6:803:71::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB1022; 6:CT9Ct6BOLjzDdeS75SKYnsN96luZ4ydaz8VowdGZtBecL5aFELzIOStrNW8hfK8XP1zLA/MQ3mS/Vjv37XA10tCy3tkKgbpi5elFX8VvBIJB0b6DepIWuVKI9/tekAED1zwjV4OzloL2ptsy+OCZ6dSR/9T9LrrjeA9CpqV4uFPZO5TOi340h86gERC6I1kyZ59oK9EGXxfWQLtRScRfB9DEdKWv7MWp6n/4+OA5yvDysQei9HlZ1ZVJM65BSi9R1OOy74eSNPHHbMCXRvNySawKrYwJv2PakrsQOx1U3iqSTB1Mym4oOSrbjBlkhpccpVEY9wrs9sEsDCkzLNoGnIaJEE8KBf343r5KRwpGxBrv/ILTJcd0IUBzv0nZPglMh6MyeuAqL/ZE1LAlXIrCv1Bn1bTa5uKzIp6nn3M1sxIxz6xxZozMmVJkdf/989eRVshO/TPLGQW/9XoOKTBLoA==; 5:8cPIX9iAW1s75ja556sOol9dXYKm8gxthTIiiZTMcvzmehuY80mfX8GEjkvX2ugt6CUmK8yMVm7AF7yTNCEA7qg7ThoE/beNxZdE2ni1ghqP/jYLHDbc5vRpYA/KASlMBVpXvPTTM1RslftA/xkW80CUsMnOC5BxUhQ1GggyBw4=; 7:GrY7cf8V49hm71djvPZNMQoNfBklHheLInCHOX6X+VKf1On6o0RhJyoe7KKoqnAHKlj/itLvBYQqoNfwfRjBne6AVuHmq5R27TzS2J44jqFhnRcpiTZpQBk8jo5kGLrmmp78WOkejKvvItykO4nGO+9f1raWdqGC5VG4Rd5Wv1DCtVZgt0GAMvQa1nigYgLSZJSCJlAwqVdDl56M3oe+hs0t3URudCp16iK4sFYrWhd5137y+8fkP9D/Ao2qWPKf x-ms-office365-filtering-correlation-id: a46d9b89-cab8-414d-773e-08d638b50ac5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB1022; x-ms-traffictypediagnostic: VI1PR04MB1022: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231355)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB1022; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB1022; x-forefront-prvs: 0834BAF534 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(366004)(396003)(346002)(376002)(39860400002)(189003)(5403001)(199004)(2900100001)(102836004)(105586002)(7736002)(36756003)(478600001)(305945005)(106356001)(14454004)(316002)(3846002)(81156014)(81166006)(8676002)(5660300001)(558084003)(8936002)(66066001)(97736004)(6116002)(6512007)(31686004)(71190400001)(2906002)(71200400001)(76176011)(44832011)(5250100002)(2616005)(54906003)(6486002)(55236004)(99286004)(186003)(68736007)(2501003)(110136005)(6246003)(6436002)(476003)(486006)(6506007)(31696002)(4326008)(386003)(229853002)(446003)(78486010)(11346002)(25786009)(52116002)(26005)(86362001)(53936002)(256004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB1022; H:VI1PR04MB4688.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: fYDmu+2V0KrTotMsIloPXVKcpufXett49QaQFOpPocK4a0CYjejjLqoY+eYH5HVtor2eNNC2dSuI7UerLhV3MTG5FB5WEmPH+RHJvDVZoQjOn3gGxoMIPov28OSrMiQ37+gvFhgvxSX+aLBx1b82Dv0F9ck1LxuT22t0ysT1+JxB5yvop4DsWt2b9OGXIESx21uRQZAKK3MaXwItTiPVgq3Q+6Hwd4HZC0BW83JXQ59fso5SlVnpzxH2z48kFxt2PdzbJ9d5JiqHSvGlZVIyJfMRTgAFfmtQo7RNIg3T3qdyru3lmHmiArRlvV0fiD6yy/nV4rxxlB/u15C8/IW7dFjdKe4PxrjBTChNlr3FLM8= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a46d9b89-cab8-414d-773e-08d638b50ac5 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2018 06:59:14.7797 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1022 Subject: Re: [dpdk-dev] [PATCH] drivers/raw/ifpga_rawdev: fix coverity issue 323508 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: , X-List-Received-Date: Tue, 23 Oct 2018 06:59:17 -0000 T24gVHVlc2RheSAyMyBPY3RvYmVyIDIwMTggMDc6MjAgQU0sIFJvc2VuIFh1IHdyb3RlOg0KPiBU aGlzIHBhdGNoIGZpeGVzIHJ0ZV9lYWxfaG90cGx1Z19hZGQgd2l0aG91dCBjaGVja2luZyByZXR1 cm4gdmFsdWUgaXNzdWUNCj4gDQo+IFNpZ25lZC1vZmYtYnk6IFJvc2VuIFh1IDxyb3Nlbi54dUBp bnRlbC5jb20+DQo+IEZpeGVzOiBlZjFlOGVkZTNkYTUgKCJyYXcvaWZwZ2E6IGFkZCBJbnRlbCBG UEdBIGJ1cyByYXdkZXYgZHJpdmVyIikNCj4gQ2M6IHJvc2VuLnh1QGludGVsLmNvbQ0KPiAtLS0N Cg0KRml4ZXMgY29tZXMgKmJlZm9yZSogc2lnbmVkLW9mZi4NCg0KPFBhdGNoIGhlYWRlcj4NCg0K PE1lc3NhZ2U+DQouLg0KPEZpeGVzPg0KDQo8U2lnbmVkLW9mZi4uLj4NCg==