Re: 2.4.0-test1-ac10 sg.c bugfix

Douglas Gilbert (dougg@torque.net)
Thu, 08 Jun 2000 22:13:04 -0400


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/