From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.phytec.co.uk ([217.6.246.34] helo=root.phytec.de) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fuzSt-0005UT-FA for barebox@lists.infradead.org; Wed, 29 Aug 2018 12:20:56 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 1F481A00DDA for ; Wed, 29 Aug 2018 14:21:01 +0200 (CEST) From: Teresa Remmet Date: Wed, 29 Aug 2018 14:19:55 +0200 Message-Id: <1535545212-18871-40-git-send-email-t.remmet@phytec.de> In-Reply-To: <1535545212-18871-1-git-send-email-t.remmet@phytec.de> References: <1535545212-18871-1-git-send-email-t.remmet@phytec.de> 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: [PATCH 39/56] UBI: Fix crash in try_recover_peb() To: barebox@lists.infradead.org RnJvbTogR2VlcnQgVXl0dGVyaG9ldmVuIDxnZWVydEBsaW51eC1tNjhrLm9yZz4KCiAgICBkcml2 ZXJzL210ZC91YmkvZWJhLmM6IEluIGZ1bmN0aW9uIOKAmHRyeV9yZWNvdmVyX3BlYuKAmToKICAg IGRyaXZlcnMvbXRkL3ViaS9lYmEuYzo3NDQ6IHdhcm5pbmc6IOKAmHZpZF9oZHLigJkgaXMgdXNl ZCB1bmluaXRpYWxpemVkIGluIHRoaXMgZnVuY3Rpb24KClRoZSBwb2ludGVyIHZpZF9oZHIgaXMg aW5kZWVkIG5vdCBpbml0aWFsaXplZCwgbGVhZGluZyB0byBhIGNyYXNoIHdoZW4KaXQgaXMgZGVy ZWZlcmVuY2VkLgoKRml4IHRoaXMgYnkgb2J0YWluaW5nIHRoZSBwb2ludGVyIGZyb20gdGhlIFZJ RCBidW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