Re: [patch 3/4] timers: scsi, input, networking

From: Linus Torvalds (torvalds@transmeta.com)
Date: Tue Nov 05 2002 - 13:10:01 EST


Hmm.. The subject says "scsi, input, networking", but there is only a scsi
part to the patch. Messed up patch?

                Linus

On Mon, 4 Nov 2002, Andrew Morton wrote:
>
> The patches which I needed to avoid the warnings with my build.
>
> --- 25/drivers/scsi/scsi.c~scsi-timer-init Mon Nov 4 18:47:02 2002
> +++ 25-akpm/drivers/scsi/scsi.c Mon Nov 4 18:47:02 2002
> @@ -603,6 +603,7 @@ inline void __scsi_release_command(Scsi_
> GFP_DMA : 0));
> if(newSCpnt) {
> memset(newSCpnt, 0, sizeof(Scsi_Cmnd));
> + init_timer(&newSCpnt->eh_timeout);
> newSCpnt->host = SDpnt->host;
> newSCpnt->device = SDpnt;
> newSCpnt->target = SDpnt->id;
> @@ -1551,6 +1552,7 @@ void scsi_build_commandblocks(Scsi_Devic
> }
>
> memset(SCpnt, 0, sizeof(Scsi_Cmnd));
> + init_timer(&SCpnt->eh_timeout);
> SCpnt->host = SDpnt->host;
> SCpnt->device = SDpnt;
> SCpnt->target = SDpnt->id;
>
>
>
>

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



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:39 EST