Re: [PATCH 3/4] drivers/video/bf537-lq035.c: Add missing IS_ERR test

From: Paul Mundt
Date: Tue Jan 25 2011 - 01:12:16 EST


On Mon, Jan 24, 2011 at 03:43:17PM -0500, Mike Frysinger wrote:
> On Monday, January 24, 2011 14:55:21 Julia Lawall wrote:
> > lcd_device_register may return ERR_PTR, so a check is added for this value
> > before the dereference. All of the other changes reorganize the error
> > handling code in this function to avoid duplicating all of it in the added
> > case.
> >
> > In the original code, in one case, the global variable fb_buffer was set to
> > NULL in error code that appears after this variable is initialized. This
> > is done now in all error handling code that has this property.
>
> Acked-by: Mike Frysinger <vapier@xxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/