Hi,

I'm attaching a fix for the error handling code in epson1355fb.c.

Roland
epson1355fb.c: Fixes error handling code

--- drivers/video/epson1355fb.c.orig	2007-04-10 14:01:48.000000000 +0200
+++ drivers/video/epson1355fb.c	2007-04-10 14:02:17.000000000 +0200
@@ -650,9 +650,10 @@
 	}
 
 	info = framebuffer_alloc(sizeof(struct epson1355_par) + sizeof(u32) * 256, &dev->dev);
-	if (!info)
+	if (!info) {
 		rc = -ENOMEM;
 		goto bail;
+	}
 
 	default_par = info->par;
 	default_par->reg_addr = (unsigned long) ioremap(EPSON1355FB_REGS_PHYS, EPSON1355FB_REGS_LEN);

Reply via email to