2.4.0-test1-ac10 sg.c bugfix

From: Frank van Maarseveen (F.vanMaarseveen@inter.NL.net)
Date: Thu Jun 08 2000 - 15:19:51 EST


Found by grepping for interesting compiler warnings.

--- linux/drivers/scsi/sg.c.orig Wed Jun 7 00:59:42 2000
+++ linux/drivers/scsi/sg.c Thu Jun 8 22:12:07 2000
@@ -1090,7 +1090,7 @@
         /* Now wake up any sg_read() that is waiting for this packet. */
         wake_up_interruptible(&sfp->read_wait);
         if (sfp->async_qp)
- kill_fasync(sfp->async_qp, SIGPOLL, POLL_IN);
+ kill_fasync(&sfp->async_qp, SIGPOLL, POLL_IN);
     }
 }
 

-- 
Frank

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:16 EST