Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp538344ybl; Wed, 21 Aug 2019 01:26:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZqlxaMU6AZTCuJyl6zj0vJJcbRmu9zM8RAmlmNWrf0HHAQ3CGO41Fl2QLwk24GbALsHWC X-Received: by 2002:a63:1310:: with SMTP id i16mr27809032pgl.187.1566376015318; Wed, 21 Aug 2019 01:26:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566376015; cv=pass; d=google.com; s=arc-20160816; b=hJVXYIzoGPbnqPS+3QPH3PwhKkALsJFlnWQNFcal5ayIQcriHZGKqMaVkg2mSONdvN wC8XfIXHPwmV1mYwdk8EHs36rsHOTPErMKM4gZJA6vWEwVaxd6KgPNdpWG5Neonzero7 M/y3wNIgmhOMbzYOoDjP85uO+PpJyUPgrtYtgItI1vUR8KOb3w056QDe3xHYjsQIF7h7 sWvsZdFPnLb9cEiLYBg1ZD8+CLhHnXSzdCRtzBzdaJ6H+afYijKrfL+buvtcrQ0qHjmg +ZG+Ge6cKHebJBds6DtvsNrA3RHDy9TX4fWDOD4fmfqa2Cm12hE+y35GTtmMxUETVf09 iGYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:ironport-sdr; bh=R2ZIilzwuhVvvCMlTv00QyCAJm7o/8pb3I5Pr7iV37k=; b=bgzCa0R+NtUCZegM7EGuOYMeZVYPqxs5H8PIpd724pyMnZQ8VrfTGBXaiYYAgq5lW7 NNwWhQH+tE8X8UVFuDXPG+6AW57CoQBInHQSWB0P8Xwo7TErVMw1fXq/BgkXXlbK+/D0 WYNkg/8GAjtpIXu1YFrvUAxCjQCOpI5uGYkxNFiRt9IiyJS5MPCXpWA8w4n5HOKX/Qb4 auLeFGrh5dgG3wSoKK1A3RfKEMxBB3x8VPcrFLbIeoLDN2Am7JSAHr2aqT3YXqwikGAc Jh7zP7nobvK8BEkkXhLAynNfN293CqEyMrnSkAtOAHRFirk9h1t7ceySgQakjJsJaDwi ghpw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=Ggu1XxpK; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y7si11390979plr.408.2019.08.21.01.26.39; Wed, 21 Aug 2019 01:26:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=Ggu1XxpK; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727367AbfHUIXP (ORCPT + 99 others); Wed, 21 Aug 2019 04:23:15 -0400 Received: from esa4.microchip.iphmx.com ([68.232.154.123]:51071 "EHLO esa4.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726541AbfHUIXO (ORCPT ); Wed, 21 Aug 2019 04:23:14 -0400 Received-SPF: Pass (esa4.microchip.iphmx.com: domain of Tudor.Ambarus@microchip.com designates 198.175.253.82 as permitted sender) identity=mailfrom; client-ip=198.175.253.82; receiver=esa4.microchip.iphmx.com; envelope-from="Tudor.Ambarus@microchip.com"; x-sender="Tudor.Ambarus@microchip.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 mx a:ushub1.microchip.com a:smtpout.microchip.com a:mx1.microchip.iphmx.com a:mx2.microchip.iphmx.com include:servers.mcsv.net include:mktomail.com include:spf.protection.outlook.com ~all" Received-SPF: None (esa4.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa4.microchip.iphmx.com; envelope-from="Tudor.Ambarus@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa4.microchip.iphmx.com; spf=Pass smtp.mailfrom=Tudor.Ambarus@microchip.com; spf=None smtp.helo=postmaster@email.microchip.com; dkim=pass (signature verified) header.i=@microchiptechnology.onmicrosoft.com; dmarc=pass (p=none dis=none) d=microchip.com IronPort-SDR: dsh5QPBYQVrf0OwAHESPQmPZydB3hUG49C3GumX1zA+/ZIjym3yy6XjtsII6dY//HZSeJsf2Kz 6HJlVji1y75kCFx7Yck0yScGP6mWCSqT+8KLRvLarN4ph3MWWkGoLBRBbE8jHYw6y2XsG4fjOE /8QDMuVnrjaXx7O03N6Nx22kkVQskwCajXrIj2hajufcu3QRa0IhaxCXB+AGzh2lP+k+6ephSv kkDhdS+LAy1w1noC/vcRyMKbUHVupQLDhJjwuY2mx3q+3L7oJ4xW1Ejy6nKT9ArZZ6RNmEMfui adg= X-IronPort-AV: E=Sophos;i="5.64,412,1559545200"; d="scan'208";a="45065054" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 21 Aug 2019 01:23:12 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 21 Aug 2019 01:23:11 -0700 Received: from NAM05-CO1-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 21 Aug 2019 01:23:11 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZouI1wrlnc1WNgU1irslGI1lGMkdmyFZ/k8B8r+8ewfUuz++Kv88v4rqIYtkoftgWUxWFJesXjr8nlPpLuEdrZTLvJrZIZXBbKcs6N5Tm6Poy6doUHqZjXVn8VyAvpyTzQeYY0s6ZYZbxEX5txIuAvhZFAqb95iy35RLP3laRSVbfuhBtQvopz6CQavjuzV1PyYmwfK0M57Jf+eE3FXjAi6i4nACKnPAJ/aawtlzCGWcvAcxpsriHNvzH5DWsYi37yA+2/Vo2C4Fpf8NvJFASKUHHkxlbzuOGkWXrvN665lHX30TwYl+Fd/rSJlUt6kDYaUo63tdmEYZxn4QBMAblg== 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=R2ZIilzwuhVvvCMlTv00QyCAJm7o/8pb3I5Pr7iV37k=; b=mVAT2VCFpYrMTypqLNSo3XvISh7Abfdc9RAd/lSSgWLBtHE++T77fipZod4jSXoZazRD0F+8i7xUGNQ/BKfYpEhkXLJbCSNsQvF5Pq4x+/2ON2G13OnxSRTIVwTKRi56MjidF7Uwp1NolteyTQ0TBa87ymEcty4StaVGaNDns4m2Db5VdCX3IFWWjcuwjwHyNQhbpHmW+yLc9FZbgjMb7Y0r4TqKvNOJfT44gKUmgwt6hFPvj7AYftdVf8xQBZpmOh+23bdzBWws7dlqxcKcB3g2cJeMnlsbGk7saU+G1IhtbSEnsMkZ7tXNBI9dn/oXEtxpSCsSxVMOcm96F7zZTA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R2ZIilzwuhVvvCMlTv00QyCAJm7o/8pb3I5Pr7iV37k=; b=Ggu1XxpKlI5LQK5INm9HRLVq85YNagqFHSUzNuvVOb423ZIjG0jbdZL+hy4vccjeiqnMNiyLwYuq5fIJchvJyHweHX4eRBdChVNvJb+5bKMfQ5hEejlF1X2IUwJWr/iHyQOmlU9sNl7XXrOlCdod6VQYF/5pMSTxtZxR/XA1Odk= Received: from MN2PR11MB4448.namprd11.prod.outlook.com (52.135.39.157) by MN2PR11MB3918.namprd11.prod.outlook.com (10.255.180.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.18; Wed, 21 Aug 2019 08:23:09 +0000 Received: from MN2PR11MB4448.namprd11.prod.outlook.com ([fe80::70c3:e929:4da2:60a5]) by MN2PR11MB4448.namprd11.prod.outlook.com ([fe80::70c3:e929:4da2:60a5%7]) with mapi id 15.20.2178.020; Wed, 21 Aug 2019 08:23:09 +0000 From: To: CC: , , , , , , , Subject: Re: [PATCH v2] mtd: spi-nor: fix a memory leak bug Thread-Topic: [PATCH v2] mtd: spi-nor: fix a memory leak bug Thread-Index: AQHVVrHa0wRKD5wwWEKewRQkNp25zacFReEA Date: Wed, 21 Aug 2019 08:23:09 +0000 Message-ID: <806348cd-2b4e-7ec8-3c32-889904c37200@microchip.com> References: <1566234960-3226-1-git-send-email-wenwen@cs.uga.edu> In-Reply-To: <1566234960-3226-1-git-send-email-wenwen@cs.uga.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR0401CA0010.eurprd04.prod.outlook.com (2603:10a6:800:4a::20) To MN2PR11MB4448.namprd11.prod.outlook.com (2603:10b6:208:193::29) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [94.177.32.156] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9c206c96-df7a-4b4c-a3a1-08d72610ccc0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:MN2PR11MB3918; x-ms-traffictypediagnostic: MN2PR11MB3918: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0136C1DDA4 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(366004)(39860400002)(396003)(346002)(376002)(199004)(189003)(66446008)(66476007)(64756008)(102836004)(486006)(52116002)(8936002)(36756003)(446003)(2616005)(81156014)(316002)(81166006)(8676002)(6116002)(3846002)(31686004)(2906002)(26005)(966005)(11346002)(54906003)(76176011)(186003)(478600001)(71200400001)(71190400001)(14454004)(25786009)(66946007)(6306002)(53936002)(2171002)(6246003)(229853002)(99286004)(4326008)(476003)(5660300002)(6506007)(6486002)(386003)(6916009)(53546011)(256004)(66066001)(86362001)(6436002)(305945005)(7736002)(14444005)(4744005)(6512007)(66556008)(31696002);DIR:OUT;SFP:1101;SCL:1;SRVR:MN2PR11MB3918;H:MN2PR11MB4448.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 3GiAglKV2vvpJrVK17CvzuEUBzxr6/xg07k0C+4Vqq6LMqhc1U++AaYkXl1Y33HBIRKzFpgfhbQUtguFBn7CMQEuVskpTyyBpmuSjo9HYhhYY3tiQTV1CN7/9mQ4/6qFYwhNl2YU4U2kQJbP6uwLhF+6gjZCd6O+3SPscjysYyTSqefO273+beofny4ILF7+I+ou0o23nXCfu6/hCMX/EhkBcUa0udjPGae7GWFcedi/SNZdSWH9gL2f+MzBUNWEddj1k5r92vYYbpZ2YMJEmGH8unHR6z4CJEwohgpRa5LNx7DKpEq0Q1+IR4DayKVMWg23hKAzgwdwbaxXW2hNZGYyYrosyrAVMitSxIaTpmTDIYGm6vYdmPk/sQc3R/UrxvYTtTvWklGq1IuCGtgKOXWOlvpH3pD2GFQ8lNz4Y44= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <7A0357C8BA65A44A82D948A517426BCD@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 9c206c96-df7a-4b4c-a3a1-08d72610ccc0 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Aug 2019 08:23:09.4932 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 4IIDUZBUdpVRunvz8kAdbfPfsBcA2vlbrBPOaM0iHyLKK4HP/CBYtnC7vejskGsj7pnuc0S/fMJK7/P6cBHtrtxHrZL+JC0Z52zuvQMhtsg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3918 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDA4LzE5LzIwMTkgMDg6MTYgUE0sIFdlbndlbiB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