RE: [PATCH] mmc:bfin_sdh fix build warning in sdh_dma_irq()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Acked-by: Sonic Zhang<sonic.zhang@xxxxxxxxxx>

>-----Original Message-----
>From: Shuah Khan [mailto:shuah.kh@xxxxxxxxxxx]
>Sent: Saturday, August 10, 2013 11:21 PM
>To: Zhang, Sonic; cjb@xxxxxxxxxx
>Cc: Shuah Khan; uclinux-dist-devel@xxxxxxxxxxxxxxxxxxxx; linux-mmc@xxxxxxxxxxxxxxx;
>linux-kernel@xxxxxxxxxxxxxxx; shuahkhan@xxxxxxxxx
>Subject: [PATCH] mmc:bfin_sdh fix build warning in sdh_dma_irq()
>
>Fix the following build warning in sdh_dma_irq()
>drivers/mmc/host/bfin_sdh.c:466:2: warning: format   %lx   expects argument of type
>long unsigned int  , but argument 5 has type   int   [-Wformat]
>       dev_dbg(mmc_dev(host->mmc), "%s enter, irq_stat: 0x%04x\n", __func__,
>                get_dma_curr_irqstat(host->dma_ch));
>
>Signed-off-by: Shuah Khan <shuah.kh@xxxxxxxxxxx>
>---
> drivers/mmc/host/bfin_sdh.c |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/mmc/host/bfin_sdh.c b/drivers/mmc/host/bfin_sdh.c index
>7b3e12f..61157c4 100644
>--- a/drivers/mmc/host/bfin_sdh.c
>+++ b/drivers/mmc/host/bfin_sdh.c
>@@ -463,7 +463,7 @@ static irqreturn_t sdh_dma_irq(int irq, void *devid)  {
>       struct sdh_host *host = devid;
>
>-      dev_dbg(mmc_dev(host->mmc), "%s enter, irq_stat: 0x%04lx\n", __func__,
>+      dev_dbg(mmc_dev(host->mmc), "%s enter, irq_stat: 0x%04x\n", __func__,
>               get_dma_curr_irqstat(host->dma_ch));
>       clear_dma_irqstat(host->dma_ch);
>       SSYNC();
>--
>1.7.10.4
>

��.n��������+%������w��{.n�����{��i��)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux