[patch] handle failure of mdio_read

Joe Shaw joe at ximian.com
Thu May 13 10:29:33 PDT 2004


On Wed, 2004-05-12 at 23:58 +0200, Sjoerd Simons wrote:
>   In the current failure of mdio_read is not really handled. Attached
>   patch solves this. As a side effect it solves a segv on startup on the
>   machine where these failures happen, but i don't understand why :(

Committed this with a few changes (mostly reporting the error and
stylistic fixes).  Thanks.

As for the crash... I'm not sure.  Perhaps it's related to passing in -1
(although I guess it was guint16 so it'd actually overflow...)

Joe


_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list