linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fbdev: Fix return code of edid_checksum
@ 2005-01-25 13:46 Antonino A. Daplas
  0 siblings, 0 replies; only message in thread
From: Antonino A. Daplas @ 2005-01-25 13:46 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linux Fbdev development list

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

Signed-off-by: Antonino Daplas <adaplas@pol.net>
---

 fbmon.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -Nru a/drivers/video/fbmon.c b/drivers/video/fbmon.c
--- a/drivers/video/fbmon.c	2005-01-15 04:33:40 +08:00
+++ b/drivers/video/fbmon.c	2005-01-25 21:27:05 +08:00
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-25 13:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-25 13:46 [PATCH] fbdev: Fix return code of edid_checksum 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;
as well as URLs for NNTP newsgroup(s).