lkml.org 
[lkml]   [2001]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] ps2fix-2.4.2-A0

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;
}
\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.112 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site