From: "Antonino A. Daplas" edid_checksum always return success (1) although it can fail. Fix. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton --- 25-akpm/drivers/video/fbmon.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/video/fbmon.c~fbdev-fix-return-code-of-edid_checksum drivers/video/fbmon.c --- 25/drivers/video/fbmon.c~fbdev-fix-return-code-of-edid_checksum 2005-01-25 21:35:29.818476432 -0800 +++ 25-akpm/drivers/video/fbmon.c 2005-01-25 21:35:29.822475824 -0800 @@ -183,7 +183,7 @@ static int edid_check_header(unsigned ch err = 0; } - return 1; + return err; } static void parse_vendor_block(unsigned char *block, struct fb_monspecs *specs) _