Re: 2.4.0-test1-ac10 sg.c bugfix

From: Douglas Gilbert (dougg@torque.net)
Date: Thu Jun 08 2000 - 21:13:04 EST


Frank wrote:
> 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);
> }
> }

Thanks. There is already a patch from Manfred Spraul sent to Alan Cox
to fix this.

Doug Gilbert

-
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:17 EST