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

Linus Torvalds (torvalds@transmeta.com)
Tue, 5 Nov 2002 10:10:01 -0800 (PST)


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/