From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1facpY-0006Ck-CP for barebox@lists.infradead.org; Wed, 04 Jul 2018 08:08:11 +0000 Message-ID: <1530691671.15725.0.camel@pengutronix.de> From: Lucas Stach Date: Wed, 04 Jul 2018 10:07:51 +0200 In-Reply-To: <20180704041024.32569-1-andrew.smirnov@gmail.com> References: <20180704041024.32569-1-andrew.smirnov@gmail.com> Mime-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 1/4] nvmem: rave-sp-eeprom: Remove VLA usage To: Andrey Smirnov , barebox@lists.infradead.org QW0gRGllbnN0YWcsIGRlbiAwMy4wNy4yMDE4LCAyMToxMCAtMDcwMCBzY2hyaWViIEFuZHJleSBT bWlybm92Ogo+IFRoaXMgaXMgYSBiYWNrcG9ydCBvZiBwYXRjaCBbMV0gYnkgS2VlcyBDb29rCj4g Cj4gWzFdIGh0dHBzOi8vbGttbC5rZXJuZWwub3JnL3IvMjAxODA2MjAxODI2MDAuR0EyNDI5N0Bi ZWFzdAo+IAo+IFNpZ25lZC1vZmYtYnk6IEFuZHJleSBTbWlybm92IDxhbmRyZXcuc21pcm5vdkBn bWFpbC5jb20+CgpUaGFua3MuIFNlcmllcyBpczoKUmV2aWV3ZWQtYnk6IEx1Y2FzIFN0YWNoIDxs LnN0YWNoQHBlbmd1dHJvbml4LmRlPgoKPiAtLS0KPiDCoGRyaXZlcnMvbnZtZW0vcmF2ZS1zcC1l ZXByb20uYyB8IDYgKysrKystCj4gwqAxIGZpbGUgY2hhbmdlZCwgNSBpbnNlcnRpb25zKCspLCAx IGRlbGV0aW9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