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 merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsKbv-0001S9-8z for barebox@lists.infradead.org; Mon, 06 Jul 2020 06:28:16 +0000 From: Ahmad Fatoum Date: Mon, 6 Jul 2020 08:28:04 +0200 Message-Id: <20200706062805.26278-2-a.fatoum@pengutronix.de> In-Reply-To: <20200706062805.26278-1-a.fatoum@pengutronix.de> References: <20200706062805.26278-1-a.fatoum@pengutronix.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 2/4] sandbox: os: common: fix compiler warning in add_image() To: barebox@lists.infradead.org Cc: Ahmad Fatoum R0NDIHJlcG9ydHM6CgogIC4vYXJjaC9zYW5kYm94L29zL2NvbW1vbi5jOiBJbiBmdW5jdGlvbiDi gJhhZGRfaW1hZ2XigJk6CiAgLi9hcmNoL3NhbmRib3gvb3MvY29tbW9uLmM6MjcxOjY6IHdhcm5p bmc6IGNhc3QgdG8gcG9pbnRlciBmcm9tIGludGVnZXIgb2YKICAJZGlmZmVyZW50IHNpemUgWy1X aW50LXRvLXBvaW50ZXItY2FzdF0KClRoaXMgaXMgYmVjYXVzZSBoZi0+YmFzZSBpcyBhbiB1bnNp Z25lZCBsb25nIGxvbmcsIHdpdGggdGhlIHVwcGVyIDMyIGJpdAphbGwtemVyb2VzIG9uIDMyLWJp dCBzeXN0ZW1zLiBUaGUgY29tcGlsZXIgZG9lc24ndCBzZWUgdGhhdCB0aG91Z2guCgpDaGFuZ2Ug dGhlIGNhc3QsIHNvIHdlIG5vIGxvbmdlciB3YXJuLgoKU2lnbmVkLW9mZi1ieTogQWhtYWQgRmF0 b3VtI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