Commit 6a96918a authored by Loc Ho's avatar Loc Ho Committed by Tejun Heo

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: default avatarLoc Ho <lho@apm.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent db8c0286
...@@ -329,7 +329,7 @@ static int xgene_ahci_hw_init(struct ahci_host_priv *hpriv) ...@@ -329,7 +329,7 @@ static int xgene_ahci_hw_init(struct ahci_host_priv *hpriv)
writel(0xffffffff, hpriv->mmio + HOST_IRQ_STAT); writel(0xffffffff, hpriv->mmio + HOST_IRQ_STAT);
readl(hpriv->mmio + HOST_IRQ_STAT); /* Force a barrier */ readl(hpriv->mmio + HOST_IRQ_STAT); /* Force a barrier */
writel(0, ctx->csr_core + INTSTATUSMASK); writel(0, ctx->csr_core + INTSTATUSMASK);
readl(ctx->csr_core + INTSTATUSMASK); /* Force a barrier */ val = readl(ctx->csr_core + INTSTATUSMASK); /* Force a barrier */
dev_dbg(ctx->dev, "top level interrupt mask 0x%X value 0x%08X\n", dev_dbg(ctx->dev, "top level interrupt mask 0x%X value 0x%08X\n",
INTSTATUSMASK, val); INTSTATUSMASK, val);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment