Skip to contentSkip to conversation

fbdev: Fix return code of edid_checksum

PATCH New Antonino A. Daplas 1 participant 1 message Jan 25, 2005 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fbdev: Fix return code of edid_checksum

edid_checksum always return success (1) although it can fail. Fix.

---

 fbmon.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/video/fbmon.c +1 -1
diff -Nru a/drivers/video/fbmon.c b/drivers/video/fbmon.c
@@ -183,7 +183,7 @@
 			err = 0;
 	}
 
-	return 1;
+	return err;
 }
 
 static void parse_vendor_block(unsigned char *block, struct fb_monspecs *specs)

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl