[PATCH] libata: move err_mask to ata_queued_cmd
authorAlbert Lee <albertcc@tw.ibm.com>
Mon, 5 Dec 2005 07:38:02 +0000 (15:38 +0800)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 6 Dec 2005 09:49:22 +0000 (04:49 -0500)
commita22e2eb0710798009b8e696ae911aef745089dd6
tree93421443499249db0301868e07f24156c456cf7a
parentc14b8331ec4843e4f2b67a4d847a0d812a50e43c
[PATCH] libata: move err_mask to ata_queued_cmd

  - remove err_mask from the parameter list of the complete functions
  - move err_mask to ata_queued_cmd
  - initialize qc->err_mask when needed
  - for each function call to ata_qc_complete(), replace the err_mask parameter with qc->err_mask.

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
===============
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/ahci.c
drivers/scsi/libata-core.c
drivers/scsi/libata-scsi.c
drivers/scsi/libata.h
drivers/scsi/pdc_adma.c
drivers/scsi/sata_mv.c
drivers/scsi/sata_promise.c
drivers/scsi/sata_qstor.c
drivers/scsi/sata_sil24.c
drivers/scsi/sata_sx4.c
include/linux/libata.h