* [U-Boot] [PATCH] video: ati_radeon_fb.c: fix warning while compiling with DEBUG
@ 2010-04-08 14:31 Anatolij Gustschin
2010-04-08 14:38 ` Anatolij Gustschin
0 siblings, 1 reply; 2+ messages in thread
From: Anatolij Gustschin @ 2010-04-08 14:31 UTC (permalink / raw)
To: u-boot
Fixes this warning:
ati_radeon_fb.c: In function 'radeon_probe':
ati_radeon_fb.c:598: warning: format '%x' expects type 'unsigned int',
but argument 2 has type 'void *'
Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
drivers/video/ati_radeon_fb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/video/ati_radeon_fb.c b/drivers/video/ati_radeon_fb.c
index f797104..4a9bd07 100644
--- a/drivers/video/ati_radeon_fb.c
+++ b/drivers/video/ati_radeon_fb.c
@@ -594,7 +594,7 @@ int radeon_probe(struct radeonfb_info *rinfo)
rinfo->mmio_base = pci_bus_to_virt(pdev, rinfo->mmio_base_bus,
PCI_REGION_MEM, 0, MAP_NOCACHE);
- DPRINT("rinfo->mmio_base = 0x%x bus=0x%x\n",
+ DPRINT("rinfo->mmio_base = 0x%p bus=0x%x\n",
rinfo->mmio_base, rinfo->mmio_base_bus);
rinfo->fb_local_base = INREG(MC_FB_LOCATION) << 16;
DPRINT("rinfo->fb_local_base = 0x%x\n",rinfo->fb_local_base);
--
1.6.3.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] video: ati_radeon_fb.c: fix warning while compiling with DEBUG
2010-04-08 14:31 [U-Boot] [PATCH] video: ati_radeon_fb.c: fix warning while compiling with DEBUG Anatolij Gustschin
@ 2010-04-08 14:38 ` Anatolij Gustschin
0 siblings, 0 replies; 2+ messages in thread
From: Anatolij Gustschin @ 2010-04-08 14:38 UTC (permalink / raw)
To: u-boot
On Thu, 8 Apr 2010 16:31:54 +0200
Anatolij Gustschin <agust@denx.de> wrote:
> Fixes this warning:
>
> ati_radeon_fb.c: In function 'radeon_probe':
> ati_radeon_fb.c:598: warning: format '%x' expects type 'unsigned int',
> but argument 2 has type 'void *'
>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
> drivers/video/ati_radeon_fb.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Applied to u-boot-video/master.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-08 14:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-08 14:31 [U-Boot] [PATCH] video: ati_radeon_fb.c: fix warning while compiling with DEBUG Anatolij Gustschin
2010-04-08 14:38 ` Anatolij Gustschin
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.