public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] epson1355fb.c, kernel 2.6.21-rc6-git3
@ 2007-04-10 12:45 Roland Stigge
  2007-04-10 13:46 ` Antonino A. Daplas
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Stigge @ 2007-04-10 12:45 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 79 bytes --]

Hi,

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

Roland

[-- Attachment #2: epson1355fb.c.patch --]
[-- Type: text/x-patch, Size: 487 bytes --]

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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-10 13:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-10 12:45 [PATCH] epson1355fb.c, kernel 2.6.21-rc6-git3 Roland Stigge
2007-04-10 13:46 ` Antonino A. Daplas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox