From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 17 Jun 2016 17:06:05 +0200 Subject: [U-Boot] SPL: fat: Fix spl_parse_image_header() return value handling In-Reply-To: References: <1463701524-8354-1-git-send-email-marex@denx.de> <20160523221432.GM7650@bill-the-cat> Message-ID: <576411DD.5040108@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/17/2016 05:01 PM, Fabio Estevam wrote: > Hi Tom, > > On Mon, May 23, 2016 at 7:14 PM, Tom Rini wrote: >> On Fri, May 20, 2016 at 01:45:24AM +0200, Marek Vasut wrote: >> >>> The spl_parse_image_header() can return 0 and it is not an error. >>> Only treat non-zero return value as an error. >>> >>> Signed-off-by: Marek Vasut >>> Cc: Fabio Estevam >>> Cc: Peng Fan >>> Cc: Stefano Babic >>> Cc: Tom Rini >>> Reviewed-by: Fabio Estevam >>> Reviewed-by: Peng Fan >>> Reviewed-by: Stefano Babic >>> Reviewed-by: Tom Rini >> >> Applied to u-boot/master, thanks! > > Looks like something went wrong while applying this patch as Marek's > authorship got lost: Ah, you're right, nice catch :) Tom, I don't really care, bug is fixed, you can leave it as it is. > commit d550e82e4efebf5995809e38e8fb029b8fe6e861 > Author: Tom Rini > Date: Mon May 23 11:51:13 2016 -0400 > > SPL: fat: Fix spl_parse_image_header() return value handling > > The spl_parse_image_header() can return 0 and it is not an error. > Only treat non-zero return value as an error. > > Signed-off-by: Marek Vasut > Reviewed-by: Fabio Estevam > Reviewed-by: Peng Fan > Reviewed-by: Stefano Babic > Reviewed-by: Tom Rini > -- Best regards, Marek Vasut