Re: [PATCH] scsi: Scsi_Cmnd convertion in aic7xxx_old.c

Olaf Hering
2006-10-06T20:29:28Z

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?