Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2295033ybl; Sun, 18 Aug 2019 23:05:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOHQKECdh4bhiLdfX8hbKP2op0S3In+/4P9CQYjho45ZdqvNttUPqrdN6qntZqch4ThdoJ X-Received: by 2002:a65:5342:: with SMTP id w2mr18293022pgr.261.1566194701845; Sun, 18 Aug 2019 23:05:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566194701; cv=pass; d=google.com; s=arc-20160816; b=ZFUeT7mdTv/qN+bhK9RacFS0CEAN3oV+uC78sAsDR0nDzpYpbm8gA2tbsLpp0ysC8Z T+qQuR4DqNYtIkpJaoro54Vkb/vM2u4DXJyGpx4PdDmp8Jj1mssdKIDII9bjHYptrSoe 4naYPPli4lpADqfcRkQaP630+Zlc619AHb+a7zc3qsLhj6eMr+K/QlImYcXg8Ihy33m1 9LB6Z+/F/ehs699BikGqxxfquKvesDylpUTAtqk2vCMlSeOWMTGFb25NXsZUhV6an2pj 7625hGs4RoTnOBo9yOmWnHOfm4q68YgM8IHj5lZjPKc+/0V97JAOF4VMAqBhUd0olYAy 4tPA== 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=WTl3yRqqsKP9WZERr8g5GYxuvfPjSbb+oUVuAxnPGLk=; b=LV/l7p+95vYOQ8eHRi2gY3uf4k1ES+MSY+/VaAWmgUOssKotHY2r1u/74SOlnhKzSu fRO/YSKJ7ftAHctP+xDxHQIR/DMHAnD2Cgu38c7FRcx3gxJ6WDhqwZxZ94JGaEfQn2Gk p0ZsC1aDR++inNGE7veHljM3FJnvgc0HA2zfC3ROqctjGDVAx/ObIZObw6NAKx9IHj67 eLl2848vhIuVv8OiH1WecEuKWyRZoRHILIaPYrU7eXa7KQmCMfA8a+JIbdK10k+xE6tB IGTvLWwuBi6BnxqALzVsf9u1S+scS9EJLeOBimX7koGCIlcpPiFszXl89ABtb41I4uSX bTrA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b="lp/MAVDU"; 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 c12si9263911pgl.252.2019.08.18.23.04.45; Sun, 18 Aug 2019 23:05:01 -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="lp/MAVDU"; 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 S1726390AbfHSGDm (ORCPT + 99 others); Mon, 19 Aug 2019 02:03:42 -0400 Received: from esa6.microchip.iphmx.com ([216.71.154.253]:24613 "EHLO esa6.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725790AbfHSGDl (ORCPT ); Mon, 19 Aug 2019 02:03:41 -0400 Received-SPF: Pass (esa6.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=esa6.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 (esa6.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa6.microchip.iphmx.com; envelope-from="Tudor.Ambarus@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa6.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: mDEN09ridQc9oMEEBdpebg0P9LsQ0Oi6VNtIGccRCKAXiLgHhDu5ZhQSmvbSf/RLWCSNpwYACR wkPU09yBk2+65mtU9HwxBSl0gXQPcFbsNz4ZASpIfZGu7xrPOpVwg1jix3+EYhuKQRRuJd9o7T RqhUI6JeLNuhQ6PMgDrFAehEHei0nMMg1cDM0GJ5SKdB9Mm6aBsEgDSAfC81MlVxmnp9p42C68 8wj6CCUAmbLj+HDb1n2CFKp1dcU6AvBHTZUAiEz0SpZYaNvUQI5gb6ajpovIKBiJgiqkRhS7uq 7nk= X-IronPort-AV: E=Sophos;i="5.64,403,1559545200"; d="scan'208";a="42726605" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 18 Aug 2019 23:03:40 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 18 Aug 2019 23:03:30 -0700 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Sun, 18 Aug 2019 23:03:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fJ3ikrZhra7Oh9eJ0frKrIi7PaXlf9in1XBpEMqhI2tzQDpWqxm3QS2HjZIP+dIhonXfkI6vE6buN0j1d6z1zHvsRYSSxPHk0z3h9lTWWKex3pKmZ3rxvCCniysZWf/29uOWsCCFvutK/BhjQGsYv6cURONhlou6kt3MsK2+Rc/JmLwqv68cZjGs2Sxyv+Hq3igY6bCU24KDFb4zH2AcBqwFPM6zeo6l+lp0v+isyS8zy/R8Dl46y0vnssHGQ0DxFv8SfJmyGLtOi6B+ScR/Tux0ahPxVQ60GnepN/EqdtJYzUIBXnv5hHiBveJxkoemERPN11wAe2qE5/+P6KC8+Q== 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=WTl3yRqqsKP9WZERr8g5GYxuvfPjSbb+oUVuAxnPGLk=; b=ZsbhQCwFXV3IQN5YJ99j7ilsr9E6x5/idCwpOcW+XW6okHK3GMlQTfdWFr2cVCdhQISXvVuOv8gS8Z3ClxEvw7kc4UXTYFj5h4qzhtIoxJcQQfqjOOXC8PMBM9Ca9yFt2eMYXhqqsJsTrlmi0VJXRV+/5twsAm/aRZnZ2ryDv51z+kLLckOAy6uq7oiEn4y9KUWxh6WisIAvG4icY6tvg0My8jcCplFqS2hdzUQbm9G8Ec8aSiBtCVDWTf9ycMQBYprL1q4Jzc+hGRFCOwu0b3zpelvQk4y94ZD4qusnqQxQ2XdcR85FWWuJOwB72pYPy0ATDklc/RoXtNO3JE5BDg== 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=WTl3yRqqsKP9WZERr8g5GYxuvfPjSbb+oUVuAxnPGLk=; b=lp/MAVDUgPNF3PdOcUcsi1BmJTH6lj9n/W0JGroSJJtu1HTw2zhYOjL9ef+jNspSYsSN3mxmEsGIfDpbWB0VVjw2eZRBxLakPvJ24rv304Y3aQIOHlIYyAFCbqnY6UDbjm1PgMqITQ6WBW7kV5XDlgX6Z+oQgjN74jLOKwtSqRE= Received: from MN2PR11MB4448.namprd11.prod.outlook.com (52.135.39.157) by MN2PR11MB3709.namprd11.prod.outlook.com (20.178.252.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.16; Mon, 19 Aug 2019 06:03:26 +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.018; Mon, 19 Aug 2019 06:03:26 +0000 From: To: CC: , , , , , , , Subject: Re: [PATCH] mtd: spi-nor: fix a memory leak bug Thread-Topic: [PATCH] mtd: spi-nor: fix a memory leak bug Thread-Index: AQHVVev6fATxhl9u4US1h72AjbWeGacB+8IA Date: Mon, 19 Aug 2019 06:03:26 +0000 Message-ID: References: <1566149993-2748-1-git-send-email-wenwen@cs.uga.edu> In-Reply-To: <1566149993-2748-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: VI1PR0902CA0034.eurprd09.prod.outlook.com (2603:10a6:802:1::23) 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: e6282b93-2635-4e4e-d025-08d7246af320 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:MN2PR11MB3709; x-ms-traffictypediagnostic: MN2PR11MB3709: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 0134AD334F x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(39860400002)(136003)(346002)(376002)(396003)(189003)(199004)(186003)(4744005)(31686004)(478600001)(25786009)(81166006)(6246003)(14444005)(76176011)(6916009)(14454004)(31696002)(81156014)(4326008)(8936002)(229853002)(7736002)(52116002)(99286004)(6116002)(3846002)(305945005)(316002)(2906002)(54906003)(71200400001)(71190400001)(26005)(66946007)(66476007)(66556008)(64756008)(66446008)(86362001)(486006)(66066001)(6436002)(5660300002)(2616005)(446003)(11346002)(476003)(53936002)(6512007)(2171002)(6486002)(8676002)(36756003)(53546011)(102836004)(6506007)(256004)(386003);DIR:OUT;SFP:1101;SCL:1;SRVR:MN2PR11MB3709;H:MN2PR11MB4448.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: 9kY7q9NyQhU0ZXD0Ap51mPQiJTBGSnFPGKC8akfkgg1VnKvGFhyA4BzkakpuZqrKqb73hb8Mw0oJQB8arvyhxni1SOE1Ehj2nLaNrKvdjVPqpfJprPdvr6D65wgIb+2cjiw8pp5P5c5MErcB+kYyRELb/EkQ56I9isUj5qZ20BhUqTslKQrGuuptj+01vs1etMO3UqCRzkNWbPc/2KyOxGRXFtN7BxA6kEgsO0qSIZA3K5oPOlA0O3yjr0RMKN3ii/Ku7RgceiFBM2oqxmXeibFMbJtIu23OCrZ+sePOEQR6gP0/4WJQM0Cp5njK2WsdeVaWZ8uqcXk9msow8nRJSwbEiXSEHClSytPlFXnu/wzLjb0hYy2lvtxoFJ+9wPrI+6oxESccdEUw4oFpQDpz6zicuuWvvGtXfLV6Tua3Kc8= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <0AAB7BCEA377584D96671AB8EC6B2B43@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: e6282b93-2635-4e4e-d025-08d7246af320 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Aug 2019 06:03:26.2510 (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: Ahgs/gGSgQ0tZM/H8KC6hONzXhvbHrnIyufbCHKqML6gXO1sD/0DTfKK0s3EUvrzg5EEceB71V4UampYLGDabolkVJX6LHCXmrL2R1wB/4M= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3709 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDA4LzE4LzIwMTkgMDg6MzkgUE0sIFdlbndlbiBXYW5nIHdyb3RlOg0KPiBJbiBzcGlf bm9yX3BhcnNlXzRiYWl0KCksICdkd29yZHMnIGlzIGFsbG9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