diff options
author | Loc Ho <lho@apm.com> | 2014-03-18 14:14:37 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-03-18 16:01:04 -0400 |
commit | 6a96918a6aa7b434d15710fc9e06589c6c8bd3a6 (patch) | |
tree | 56a318b80c84f719368d31b2488721b2b66481c3 /drivers/ata | |
parent | db8c0286d18c2d3eaec2c4da34767db0f4f6ffaa (diff) |
ata: Fix compiler warning with APM X-Gene host controller driver
This patch fixes an compiler warning with APM X-Gene host controller
driver when compiled with DEBUG enabled.
Signed-off-by: Loc Ho <lho@apm.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/ahci_xgene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index fcf21f1a39f3..77c89bf171f1 100644 --- a/drivers/ata/ahci_xgene.c +++ b/drivers/ata/ahci_xgene.c | |||
@@ -329,7 +329,7 @@ static int xgene_ahci_hw_init(struct ahci_host_priv *hpriv) | |||
329 | writel(0xffffffff, hpriv->mmio + HOST_IRQ_STAT); | 329 | writel(0xffffffff, hpriv->mmio + HOST_IRQ_STAT); |
330 | readl(hpriv->mmio + HOST_IRQ_STAT); /* Force a barrier */ | 330 | readl(hpriv->mmio + HOST_IRQ_STAT); /* Force a barrier */ |
331 | writel(0, ctx->csr_core + INTSTATUSMASK); | 331 | writel(0, ctx->csr_core + INTSTATUSMASK); |
332 | readl(ctx->csr_core + INTSTATUSMASK); /* Force a barrier */ | 332 | val = readl(ctx->csr_core + INTSTATUSMASK); /* Force a barrier */ |
333 | dev_dbg(ctx->dev, "top level interrupt mask 0x%X value 0x%08X\n", | 333 | dev_dbg(ctx->dev, "top level interrupt mask 0x%X value 0x%08X\n", |
334 | INTSTATUSMASK, val); | 334 | INTSTATUSMASK, val); |
335 | 335 | ||