[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061006202913.GA7835@aepfle.de>
Date: Fri, 6 Oct 2006 22:29:13 +0200
From: Olaf Hering <olaf@...fle.de>
To: Henne <henne@...htwindheim.de>
Cc: Andrew Morton <akpm@...l.org>,
James Bottomley <James.Bottomley@...elEye.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: Scsi_Cmnd convertion in aic7xxx_old.c
On Wed, Oct 04, Henne wrote:
> -static void
> -aic7xxx_done_cmds_complete(struct aic7xxx_host *p)
> +static void aic7xxx_done_cmds_complete(struct aic7xxx_host *p)
> {
> - Scsi_Cmnd *cmd;
> -
> - while (p->completeq.head != NULL)
> - {
> - cmd = p->completeq.head;
> - p->completeq.head = (Scsi_Cmnd *)cmd->host_scribble;
> - cmd->host_scribble = NULL;
> - cmd->scsi_done(cmd);
> - }
> +
> + struct scsi_cmnd *cmd;
> +
> + while (p->completeq.head != NULL) {
> + cmd = p->completeq.head;
> + p->completeq.head = (struct scsi_Cmnd *) cmd->host_scribble;
This one should be struct scsi_cmnd * as well?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists