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.92.3 #3 (Red Hat Linux)) id 1jOHfk-0005Px-A8 for barebox@lists.infradead.org; Tue, 14 Apr 2020 09:16:01 +0000 Date: Tue, 14 Apr 2020 11:15:58 +0200 From: Sascha Hauer Message-ID: <20200414091558.GA27288@pengutronix.de> References: <20200407184941.155842-1-ahmad@a3f.at> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200407184941.155842-1-ahmad@a3f.at> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] of: overlay: fix uninitialized read of variable To: Ahmad Fatoum Cc: barebox@lists.infradead.org On Tue, Apr 07, 2020 at 08:49:41PM +0200, Ahmad Fatoum wrote: > When there are no fragments, we return an uninitialized err. > Initialize err as zero, so it's returned in that case. > > Signed-off-by: Ahmad Fatoum > --- > drivers/of/overlay.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox