Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=19f3d3a5546be431f3846d8a8581e7a2f169dba3
Commit:     19f3d3a5546be431f3846d8a8581e7a2f169dba3
Parent:     c930faaed551aac898c618a7df1d68901ff244f0
Author:     Roland Stigge <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 00:38:31 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:15:28 2007 -0700

    epson1355fb.c: fix error handling code
    
    Fix error handling code
    
    Signed-off-by: Roland Stigge <[EMAIL PROTECTED]>
    Signed-off-by: Antonino Daplas <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/video/epson1355fb.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/video/epson1355fb.c b/drivers/video/epson1355fb.c
index 29e07c1..37e297d 100644
--- a/drivers/video/epson1355fb.c
+++ b/drivers/video/epson1355fb.c
@@ -650,9 +650,10 @@ int __init epson1355fb_probe(struct platform_device *dev)
        }
 
        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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to