devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ata: Fix compiler warning with APM X-Gene host controller driver
@ 2014-03-18 18:14 Loc Ho
  2014-03-18 20:06 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Loc Ho @ 2014-03-18 18:14 UTC (permalink / raw)
  To: olof, tj, arnd
  Cc: linux-scsi, linux-ide, devicetree, linux-arm-kernel, ddutile, jcm,
	patches, Loc Ho

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>
---
 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 fcf21f1..77c89bf 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)
 	writel(0xffffffff, hpriv->mmio + HOST_IRQ_STAT);
 	readl(hpriv->mmio + HOST_IRQ_STAT); /* Force a barrier */
 	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",
 		INTSTATUSMASK, val);
 
-- 
1.5.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ata: Fix compiler warning with APM X-Gene host controller driver
  2014-03-18 18:14 [PATCH] ata: Fix compiler warning with APM X-Gene host controller driver Loc Ho
@ 2014-03-18 20:06 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2014-03-18 20:06 UTC (permalink / raw)
  To: Loc Ho
  Cc: olof, arnd, linux-scsi, linux-ide, devicetree, linux-arm-kernel,
	ddutile, jcm, patches

On Tue, Mar 18, 2014 at 12:14:37PM -0600, Loc Ho wrote:
> 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>

Applied to libata/for-3.15.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-18 20:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-18 18:14 [PATCH] ata: Fix compiler warning with APM X-Gene host controller driver Loc Ho
2014-03-18 20:06 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).