On Fri, 2 Mar 2001, tachino Nobuhiro wrote:

> +       if (c == &misc_list) {
>
>   This should be  (c != &misc_list)

indeed, this fixed the ps2 problem for me too. Patch against -ac8
attached.

        Ingo
--- linux/drivers/char/misc.c.orig      Fri Mar  2 13:42:00 2001
+++ linux/drivers/char/misc.c   Fri Mar  2 13:42:02 2001
@@ -180,7 +180,7 @@
 
        while ((c != &misc_list) && (c->minor != misc->minor))
                c = c->next;
-       if (c == &misc_list) {
+       if (c != &misc_list) {
                up(&misc_sem);
                return -EBUSY;
        }

Reply via email to