[lkml]   [2011]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 3/4] drivers/video/bf537-lq035.c: Add missing IS_ERR test
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 <>
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2011-01-24 21:45    [W:0.050 / U:0.384 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site