All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] lite5200b_PM: fix compile warning
@ 2010-10-24 13:47 Wolfgang Denk
  2010-10-26 18:39 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Denk @ 2010-10-24 13:47 UTC (permalink / raw)
  To: u-boot

Fix warning:

icecube.c: In function 'lite5200b_wakeup':
icecube.c:83: warning: format '%08lx' expects type 'long unsigned int', but argument 2 has type 'void (*)(void)'

Signed-off-by: Wolfgang Denk <wd@denx.de>
---
 board/icecube/icecube.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/board/icecube/icecube.c b/board/icecube/icecube.c
index 47b2195..a9e4448 100644
--- a/board/icecube/icecube.c
+++ b/board/icecube/icecube.c
@@ -80,7 +80,7 @@ void lite5200b_wakeup(void)
 	/* jump back to linux kernel code */
 	linux_wakeup = SAVED_ADDR;
 	printf("\n\nLooks like we just woke, transferring control to 0x%08lx\n",
-			linux_wakeup);
+			(unsigned long)linux_wakeup);
 	linux_wakeup();
 }
 #else
-- 
1.7.2.3

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

* [U-Boot] [PATCH] lite5200b_PM: fix compile warning
  2010-10-24 13:47 [U-Boot] [PATCH] lite5200b_PM: fix compile warning Wolfgang Denk
@ 2010-10-26 18:39 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2010-10-26 18:39 UTC (permalink / raw)
  To: u-boot

In message <1287928052-28981-1-git-send-email-wd@denx.de> you wrote:
> Fix warning:
> 
> icecube.c: In function 'lite5200b_wakeup':
> icecube.c:83: warning: format '%08lx' expects type 'long unsigned int', but argument 2 has type 'void (*)(void)'
> 
> Signed-off-by: Wolfgang Denk <wd@denx.de>
> ---
>  board/icecube/icecube.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There are three ways to get something  done:  do  it  yourself,  hire
someone, or forbid your kids to do it.

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

end of thread, other threads:[~2010-10-26 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-24 13:47 [U-Boot] [PATCH] lite5200b_PM: fix compile warning Wolfgang Denk
2010-10-26 18:39 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.