Tag: 5dc1365cefb6bd8770d54a2154097445c30fe4bc

drivers/video/bf537-lq035.c: Add missing IS_ERR test

Author: Julia Lawall <julia@diku.dk> 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 …

Continue reading