Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp193799imu; Thu, 8 Nov 2018 07:03:27 -0800 (PST) X-Google-Smtp-Source: AJdET5erZ/G2BrI4kGNUrsuN56WebrYPtPxN3yf+8GmPt2K2T3yABjncHDcgq+FEasgAVrA6Me38 X-Received: by 2002:a17:902:b18c:: with SMTP id s12-v6mr4755547plr.16.1541689407213; Thu, 08 Nov 2018 07:03:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541689407; cv=none; d=google.com; s=arc-20160816; b=EjlGgxoQI66dbY/BJh2cd7ucIqATy+MSUAYggPAvvT20td44HtMbqS/Mc8Nx30kxyo 59necgsQabOGOmGVApUakVt/POEHxYmjHpAxy0xaxPl6NPhD67+GPOkCirvFmOC6Vtqj FSLSAbDsPjNfERLy4aHkmZJkdxxYRMCxM3aSrEet/x3Bmk+gky5TfmJaxeEQKE1yRmWi /OmQIuaAsVx6he2v1q2sWvFn6flcFT4CAEg7bol7UyrA5hhFB5OkrftXeh0Ek9jex8hV H/phw95y25viSzNPQMpgGJGB+nlzzzUgLMzlimBC6CWM4rDIreHKt1fCJdW32un6ZoCk 0kQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=IC5EtX/kwHi0AvwOv2MfeYf464/2l7fSeWAz3dzRsCs=; b=EtfMhSooQmT0uChy5D65lV5lRiPkA7AouYQBQBURGCJAiomcXE0/00HLKOVjDkloyz 0Owhhj7uSc2LuPtC8cTxArkl1Snym7mHVaEJMk2BZCFngT1lV2/o+6OOXIfqteLvFI2v crTPRBgYj98vcvAtqCEsuN/UhRVEz+f0Kkb3DlczzSWn6Ps2TGem1AiZmRxkORU72f29 4I5aAelXxhYzR80A/Nm2a3kamMsONrJTeybQYQExijplp4Qd3EIhznFI1qz2hhuazcM7 dvvqEfNxHxvud8ISVFrFE1wcULwE2M8LXf+GMgzXtZUxbwZNNxTRDnhmag0xK95Z/wOx tl9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector1-microchiptechnology-onmicrosoft-com header.b=vgIALi6l; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h1-v6si4339128pls.281.2018.11.08.07.03.06; Thu, 08 Nov 2018 07:03:27 -0800 (PST) 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=selector1-microchiptechnology-onmicrosoft-com header.b=vgIALi6l; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727051AbeKIAgd (ORCPT + 99 others); Thu, 8 Nov 2018 19:36:33 -0500 Received: from esa4.microchip.iphmx.com ([68.232.154.123]:28139 "EHLO esa4.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726469AbeKIAgc (ORCPT ); Thu, 8 Nov 2018 19:36:32 -0500 X-IronPort-AV: E=Sophos;i="5.54,480,1534834800"; d="scan'208";a="22547399" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 08 Nov 2018 08:00:38 -0700 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.76.107) with Microsoft SMTP Server (TLS) id 14.3.352.0; Thu, 8 Nov 2018 08:00:38 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector1-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IC5EtX/kwHi0AvwOv2MfeYf464/2l7fSeWAz3dzRsCs=; b=vgIALi6lmqKDDG4njeImFPn5ItrznKJ7hWX4rZ6LlS51HjNx3oRybmUGg0WI1Y5XqqSmKM9TMKwtiXFT1w35InKv0/Jrd9w+RyeTwYr6nSV/LeWaQEEwOGUpknlMOWxHi+nsPgXBbqIYsHCYCIKHz6HbPAdr938PuNbbmAHpkH4= Received: from BN6PR11MB1842.namprd11.prod.outlook.com (10.175.99.146) by BN6PR11MB1540.namprd11.prod.outlook.com (10.172.22.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.30; Thu, 8 Nov 2018 15:00:35 +0000 Received: from BN6PR11MB1842.namprd11.prod.outlook.com ([fe80::11b7:21db:803a:7cfa]) by BN6PR11MB1842.namprd11.prod.outlook.com ([fe80::11b7:21db:803a:7cfa%5]) with mapi id 15.20.1294.034; Thu, 8 Nov 2018 15:00:35 +0000 From: To: CC: , , , , , , , Subject: Re: [PATCH 3/7] mtd: spi-nor: add restriction for nmaps in smpt parser Thread-Topic: [PATCH 3/7] mtd: spi-nor: add restriction for nmaps in smpt parser Thread-Index: AQHUd1My2DY7uJrddEu3eJNAMbNdY6VF1c6AgAAR3gCAAASWgIAACTUAgAABtwCAAAHCAA== Date: Thu, 8 Nov 2018 15:00:34 +0000 Message-ID: References: <20181108110653.21063-1-tudor.ambarus@microchip.com> <20181108110653.21063-4-tudor.ambarus@microchip.com> <20181108135447.36a0314c@bbrezillon> <86d16e39-15df-c12c-7bf3-25996db0c3a9@microchip.com> <20181108151509.364e3a85@bbrezillon> <4de81d92-ca8e-34f1-55b2-ef1b6b9dcec7@microchip.com> <20181108155414.48b64084@bbrezillon> In-Reply-To: <20181108155414.48b64084@bbrezillon> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR0102CA0058.eurprd01.prod.exchangelabs.com (2603:10a6:803::35) To BN6PR11MB1842.namprd11.prod.outlook.com (2603:10b6:404:103::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tudor.Ambarus@microchip.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [94.177.32.154] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN6PR11MB1540;6:x1wWK7LqXUHE5Ed6KoFGYrL1C6G945/h3RxUJaP+OSX0kNAXoZi8x19zDkZpHyjLsw6e5gUWGBkLX6PRy/j3lKqDAHRS3dOU6BMl7yFP507L0WWmZ3gVAk9VJIMz8ONBuBnx6rGBCyft+Ct0Z1FgkTNiaifmQFVpTko7GIh/dWSx/i/S6Tnj8RnWd09EdEB0c1DlUxjvjQzfSbJfa6LkSGwduIy5uetmrXyT2A8zt+bk5drRxQgZ6NflzW1Os5kW3VUAciM74jILmY2yGlcSzI00xPQmksQDJe87eC5XWkQTz1EwMDrkQwBdP+IDS2RE5D7kxM2dF4NSEHkxGitHFGRiRDQKM3+w54yM/T4ht0MeorWp64jx906K3YbEzuWNQstjN/nFPLR/IQ1cIZeYSNV2szjvgFpf3y5J96wpkcZDn+O4DUVbLIBgxB7dWUK5YOyI5Mi3Bo1V+uHbDeol/A==;5:AGZ1EG8JKZtj+gbQeM1cZB4dVXomtTrNYAV3jjdjv55zQAbRnTYKFOY62VyjPTiGNrm2IMokUIwkHiGVrGyy84lfQIy5FuJ53/nwRyC8UEP82DZTPMGd4FeG5XeK6qqKvkMZUnstlABlYGST72GFZRfa2DreVmuavOQA4kDhD9M=;7:jsyFp16kEyqve8EzjOa+jZB5Aqv0Kq83pZe3JVgRL14SBqLcq9I39Gf7OIeSyIEtC2xpP5f/pc4kFNHU1Givw5mJyRKOj2H2cwrv/4QrT7Fjd1gfvU6PcFYdPqvara9SaNXAaQ6z3U2Z/RGCnwynmg== x-ms-office365-filtering-correlation-id: 3fda85fe-a7c9-4692-30fc-08d6458aef24 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:BN6PR11MB1540; x-ms-traffictypediagnostic: BN6PR11MB1540: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(3231382)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(148016)(149066)(150057)(6041310)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991095);SRVR:BN6PR11MB1540;BCL:0;PCL:0;RULEID:;SRVR:BN6PR11MB1540; x-forefront-prvs: 0850800A29 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(39860400002)(136003)(396003)(376002)(366004)(189003)(199004)(71190400001)(478600001)(4326008)(6246003)(71200400001)(81166006)(6916009)(81156014)(31686004)(53936002)(6512007)(476003)(2906002)(105586002)(25786009)(6486002)(6436002)(14454004)(11346002)(39060400002)(2616005)(256004)(486006)(72206003)(229853002)(446003)(5660300001)(2900100001)(26005)(52116002)(76176011)(86362001)(99286004)(31696002)(186003)(68736007)(106356001)(316002)(386003)(7736002)(66066001)(6506007)(54906003)(8936002)(305945005)(6116002)(3846002)(93886005)(53546011)(102836004)(36756003)(97736004)(8676002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR11MB1540;H:BN6PR11MB1842.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-microsoft-antispam-message-info: U0Pym0zGWnRBsyjqf4ssEcolbMlHi1ky88pLoEy6JU2aLyD084J7qh+PmP1nTTyiQSc4wHq4OGdMJgFcw9Jcs523gPVMSDvpWp8fjrkm14V0dogc80Erpe62HMl96ck+d5Jg3KfaYSAAxtbq3AoxvH9zyoLSwlMBPu9badVtvitc7YtA+jYWlq/Fd3e4XtUVbu+/0/zOd3W/Qgi2SU5HoaqVYX29borS5DQyzk/sGHmy2wmVZZin4SmOO1g80JvOhb79U/mzG107bseI2RQKVJD5RWz0ABs9qgJaFzWESURhnSoJHS9bO1NdS6oa0FjQ1WXv1PHll5g50P/0whQTyqfIhoB7pIb+sP8SDpZSYxY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <273C3E1FA3093547980F297270F06D0C@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 3fda85fe-a7c9-4692-30fc-08d6458aef24 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2018 15:00:35.0282 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1540 X-OriginatorOrg: microchip.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDExLzA4LzIwMTggMDQ6NTQgUE0sIEJvcmlzIEJyZXppbGxvbiB3cm90ZToNCj4gT24g VGh1LCA4IE5vdiAyMDE4IDE0OjQ4OjExICswMDAwDQo+IDxUdWRvci5BbWJhcnVzQG1pY3JvY2hp cC5jb20+IHdyb3RlOg0KPiAgIA0KPj4+Pj4+ICsgICAgDQo+Pj4+Pg0KPj4+Pj4gTWF5YmUgSSB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