Skip to contentSkip to conversation

api: fix type mismatch

PATCH New Matthias Fuchs 2 participants 2 messages Oct 4, 2008 – Oct 14, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 api: fix type mismatch

This patch fixes a type mismatch and though removes a compiler warning when compiling with CONFIG_API on powerpc.

---
 api/api_platform-ppc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
api/api_platform-ppc.c +1 -1
index ca9f9a5..611a01b 100644
@@ -66,7 +66,7 @@ int platform_sys_info(struct sys_info *si)
 	si->bar = gd->bd->bi_bar;
 #undef bi_bar
 #else
-	si->bar = NULL;
+	si->bar = 0;
 #endif
 
 	platform_set_mr(si, gd->bd->bi_memstart, gd->bd->bi_memsize, MR_ATTR_DRAM);
Signature · 1 line
1.5.3
#1 lore raw

PATCH 1/1 api: fix type mismatch

Dear Matthias Fuchs,

Quoted 7 lines · In message <[email protected]> you wrote:

This patch fixes a type mismatch and though removes a compiler warning when compiling with CONFIG_API on powerpc.

---
 api/api_platform-ppc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, after s/though/thus/ - hope this was OK. Thanks.

Best regards,

Wolfgang Denk

Signature · 8 lines
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
The only solution is ... a balance of power. We  arm  our  side  with
exactly  that  much  more.  A balance of power -- the trickiest, most
difficult, dirtiest game of them all. But the only one that preserves
both sides.
	-- Kirk, "A Private Little War", stardate 4211.8