Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev

* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
[PATCH] sata_mv: grab host lock inside eng_timeout

+3
+3
drivers/scsi/sata_mv.c
··· 2035 2035 static void mv_eng_timeout(struct ata_port *ap) 2036 2036 { 2037 2037 struct ata_queued_cmd *qc; 2038 + unsigned long flags; 2038 2039 2039 2040 printk(KERN_ERR "ata%u: Entering mv_eng_timeout\n",ap->id); 2040 2041 DPRINTK("All regs @ start of eng_timeout\n"); ··· 2047 2046 ap->host_set->mmio_base, ap, qc, qc->scsicmd, 2048 2047 &qc->scsicmd->cmnd); 2049 2048 2049 + spin_lock_irqsave(&ap->host_set->lock, flags); 2050 2050 mv_err_intr(ap, 0); 2051 2051 mv_stop_and_reset(ap); 2052 + spin_unlock_irqrestore(&ap->host_set->lock, flags); 2052 2053 2053 2054 WARN_ON(!(qc->flags & ATA_QCFLAG_ACTIVE)); 2054 2055 if (qc->flags & ATA_QCFLAG_ACTIVE) {