Re: [PATCH] video: fbdev: fix potential NULL pointer dereferences

2019-04-01 Thread Bartlomiej Zolnierkiewicz
On 03/14/2019 08:33 AM, Kangjie Lu wrote: > In case ioremap fails, the fix releases resources and returns > -ENOMEM to avoid NULL pointer dereferences. > > Signed-off-by: Kangjie Lu Patch queued for v5.2 with minor change in the patch summary ("video: imsttfb: fix potential NULL pointer

[PATCH] video: fbdev: fix potential NULL pointer dereferences

2019-03-14 Thread Kangjie Lu
In case ioremap fails, the fix releases resources and returns -ENOMEM to avoid NULL pointer dereferences. Signed-off-by: Kangjie Lu --- drivers/video/fbdev/imsttfb.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/video/fbdev/imsttfb.c b/drivers/video/fbdev/imsttfb.c index