From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0042.outbound.protection.outlook.com [104.47.36.42]) by dpdk.org (Postfix) with ESMTP id 674C816E for ; Wed, 20 Dec 2017 13:45:05 +0100 (CET) Received: from CY4PR03CA0097.namprd03.prod.outlook.com (10.171.242.166) by DM5PR03MB2698.namprd03.prod.outlook.com (10.168.197.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.345.14; Wed, 20 Dec 2017 12:45:04 +0000 Received: from BN1AFFO11FD042.protection.gbl (2a01:111:f400:7c10::190) by CY4PR03CA0097.outlook.office365.com (2603:10b6:910:4d::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.323.15 via Frontend Transport; Wed, 20 Dec 2017 12:45:04 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; zte.com.cn; dkim=none (message not signed) header.d=none;zte.com.cn; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD042.mail.protection.outlook.com (10.58.52.253) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.302.6 via Frontend Transport; Wed, 20 Dec 2017 12:44:47 +0000 Received: from [10.232.14.39] ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vBKCitnA009763; Wed, 20 Dec 2017 05:44:56 -0700 To: Yong Wang , CC: , , , References: <1513765398-3716-1-git-send-email-wang.yong19@zte.com.cn> From: Shreyansh Jain Message-ID: <83752162-7b5a-3567-7bc3-9ce28fec0626@nxp.com> Date: Wed, 20 Dec 2017 18:28:55 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1513765398-3716-1-git-send-email-wang.yong19@zte.com.cn> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131582474900501412; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(336005)(39380400002)(396003)(346002)(39860400002)(376002)(2980300002)(1109001)(1110001)(339900001)(51914003)(189003)(199004)(24454002)(81166006)(498600001)(8656006)(77096006)(356003)(58126008)(106466001)(8936002)(67846002)(229853002)(2486003)(23676004)(305945005)(83506002)(5660300001)(65826007)(230700001)(316002)(2950100002)(36756003)(86362001)(31686004)(31696002)(97736004)(6246003)(104016004)(68736007)(6636002)(105606002)(65806001)(54906003)(53936002)(65956001)(8676002)(81156014)(50466002)(64126003)(110136005)(76176011)(47776003)(4326008)(2906002)(85426001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2698; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD042; 1:URZ02WDw5OlXEEkyBavrJBZbYv1gdQBSxnMfRfeM5dPmew4f8yeoGgqGzFvx5a/gsXf7hkiv8OKXIQYoIP8Q400Oj2HeFnBXri+N+6T5y9Zu/IwglcgzAVw2EdRdHYve X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ca8f3fc7-8957-4d0e-73a4-08d547a77593 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4628075)(201703131517081)(2017052603307); SRVR:DM5PR03MB2698; X-Microsoft-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; 4:YAzhyvwyn0/nwyFjpXVrvmh7JkAawKLZ/bLy4rPbSJ0WcywTBbwwxL2QlGcBjNHJm/6ugYqBrL2TyZKg+4uBeXa2yFeGVvEupukJKWnZQlGg8gkGonzuL8qb7P//Mn/Sf/FvFO1U9TFUs+fbIhE3fcNGYJGreo0pA4FRQygazxaxxFxJVNmoAYbIZ/xyvsW7qNuSgtbDHPUmvmyQEF1ktywpR7mGzo3qZS+BPtygqq0BlHN/+XUyiYsY/onJRmJivC1u4pDKsUARm3suVlzvAeu3injqFfpZO/t8LoM/mV/wVPzqDfn7Ux2VVPQR6YrC X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(10201501046)(3231023)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123556025)(20161123559100)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123563025)(20161123565025)(20161123561025)(201708071742011); SRVR:DM5PR03MB2698; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:DM5PR03MB2698; X-Forefront-PRVS: 0527DFA348 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTVQUjAzTUIyNjk4OzIzOnV3M3l2Vm5hWWVuNm9RclFVdXdia0U3Wm45?= =?utf-8?B?SjR1YUtEMHo2RHJ2WjdXUmd4RTBXdWdEaEtkTmF4VTNLcXBFY2pqL2ZMNy9Y?= =?utf-8?B?emJ0c0xZTWFSQjc5amFESFZlYklBTUJ2L282V3dvK05GR2VWY3dST0YxMkNZ?= =?utf-8?B?KzNCU3B1eEljUlJGeWNqRGF2eTgvYzZwcGVRVWVERUtRcHZjbGdGY1FRWDE5?= =?utf-8?B?NllFL2pDSm1palRBeVBSckUzMktRT21RMW5pNlo2VitIRm8vaUhZRjlwZTdj?= =?utf-8?B?S0l5K3E1VDFyRjZzTlRHalhlODVqNW1Tenoy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Rt4n5TX6LeCXwWdmT3aiFx7BDBH3q2OGxwvtezfaUEnM=; 5:SV3KTNZduqEO6HPbzQRRMkoVfBaqvZT8izFuOrNFxCqTwDnuFutcPQ3EYxYbr90kxL3h3UobDtb4xjO4/012p7PhHhK4xoYa0edlj5j0C8CB84VJAXdXZ4A588W2VhjgWWc/jNfbPW6RswpeM1jUITcqMhhp+QRd3aFh7BWdFGs=; 24:k2YYukUvWLzicAMfkUS/YLQulUCIeJFKEfO1FnreWEQD7Qgz73wjt6FtquAOTzRz5SmURTKJCtQ8ad8RQZ0jU5jFtMtvfPYRdROdy+V78wg=; 7:pIVhVoxCyCTm+AAJoMu3wuwm8puFyo1myq/yutjyzptPzplPiewqvzWgCi+vPCabKo2JG8el3/jZG0TVZUaoeUiyHhofMDvR3rTYWqDUCFmJRFqID2eB6MbswZr0Yaf/2GWtSrhpXNkOpqeT1wGtOoggTrtndae/cfbES+7m7L65BiPnB2rQRzX30xR8uAsdVeWLeLsagr3XivJ9E3mWkN0sDA/qSGv+i9NnLSEDttfhTVvJX8hV1ghdziqd3rvd SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2017 12:44:47.7725 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ca8f3fc7-8957-4d0e-73a4-08d547a77593 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR03MB2698 Subject: Re: [dpdk-dev] [PATCH v2 1/4] net/dpaa: add null point check and fix mem leak 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: Wed, 20 Dec 2017 12:45:05 -0000 On Wednesday 20 December 2017 03:53 PM, Yong Wang wrote: > Signed-off-by: Yong Wang > --- > drivers/net/dpaa/dpaa_ethdev.c | 36 +++++++++++++++++++++++++----------- > 1 file changed, 25 insertions(+), 11 deletions(-) > > diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c > index cf5a2ec..06d680c 100644 > --- a/drivers/net/dpaa/dpaa_ethdev.c > +++ b/drivers/net/dpaa/dpaa_ethdev.c > @@ -877,12 +877,17 @@ static int dpaa_debug_queue_init(struct qman_fq *fq, uint32_t fqid) > Thanks for the fix! Reviewed-By: Shreyansh Jain