Skip to contentSkip to conversation

epson1355fb.c, kernel 2.6.21-rc6-git3

PATCH In review Roland Stigge 2 participants 2 messages Apr 10, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 epson1355fb.c, kernel 2.6.21-rc6-git3

Hi,

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

Roland

epson1355fb.c: Fixes error handling code

video/epson1355fb.c renamed from video/epson1355fb.c.orig +2 -1
@@ -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);
#1 lore raw
Quoted 3 lines · Roland Stigge

Hi,

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

I already responded to your entry in Kernel Bugzilla.

Thanks.

Tony