~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/scsi/dpt_i2o.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
780
780
                return FAILED;
781
781
        }
782
782
        pHba = (adpt_hba*) cmd->device->host->hostdata[0];
783
 
        printk(KERN_INFO"%s: Trying to Abort cmd=%ld\n",pHba->name, cmd->serial_number);
 
783
        printk(KERN_INFO"%s: Trying to Abort\n",pHba->name);
784
784
        if ((dptdevice = (void*) (cmd->device->hostdata)) == NULL) {
785
785
                printk(KERN_ERR "%s: Unable to abort: No device in cmnd\n",pHba->name);
786
786
                return FAILED;
802
802
                        printk(KERN_INFO"%s: Abort cmd not supported\n",pHba->name);
803
803
                        return FAILED;
804
804
                }
805
 
                printk(KERN_INFO"%s: Abort cmd=%ld failed.\n",pHba->name, cmd->serial_number);
 
805
                printk(KERN_INFO"%s: Abort failed.\n",pHba->name);
806
806
                return FAILED;
807
807
        } 
808
 
        printk(KERN_INFO"%s: Abort cmd=%ld complete.\n",pHba->name, cmd->serial_number);
 
808
        printk(KERN_INFO"%s: Abort complete.\n",pHba->name);
809
809
        return SUCCESS;
810
810
}
811
811