Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155985
b: refs/heads/master
c: c9abde1
h: refs/heads/master
i:
  155983: 57dc810
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and Jeff Garzik committed Jul 29, 2009
1 parent 4de36eb commit f432a90
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 705d201414382b0966d7c903d738dfdb9380e4af
refs/heads/master: c9abde12d6debe5b97f36fb43cf188c1b9cd477f
3 changes: 2 additions & 1 deletion trunk/drivers/ata/pata_octeon_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,8 @@ static irqreturn_t octeon_cf_interrupt(int irq, void *dev_instance)

ap = host->ports[i];
ocd = ap->dev->platform_data;
if (!ap || (ap->flags & ATA_FLAG_DISABLED))

if (ap->flags & ATA_FLAG_DISABLED)
continue;

ocd = ap->dev->platform_data;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/ata/sata_mv.c
Original file line number Diff line number Diff line change
Expand Up @@ -2514,7 +2514,7 @@ static void mv_unexpected_intr(struct ata_port *ap, int edma_was_enabled)
char *when = "idle";

ata_ehi_clear_desc(ehi);
if (!ap || (ap->flags & ATA_FLAG_DISABLED)) {
if (ap->flags & ATA_FLAG_DISABLED) {
when = "disabled";
} else if (edma_was_enabled) {
when = "EDMA enabled";
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/ata/sata_sil.c
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ static irqreturn_t sil_interrupt(int irq, void *dev_instance)
struct ata_port *ap = host->ports[i];
u32 bmdma2 = readl(mmio_base + sil_port[ap->port_no].bmdma2);

if (unlikely(!ap || ap->flags & ATA_FLAG_DISABLED))
if (unlikely(ap->flags & ATA_FLAG_DISABLED))
continue;

/* turn off SATA_IRQ if not supported */
Expand Down

0 comments on commit f432a90

Please sign in to comment.