| To: | Arthur Othieno <a.othieno@bluewin.ch> |
|---|---|
| Subject: | Re: [PATCH] mips: prom_free_prom_memory() returns `unsigned long' |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Fri, 28 Oct 2005 11:12:02 +0100 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <20051028044256.GA14758@krypton> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20051028044256.GA14758@krypton> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.4.2.1i |
On Fri, Oct 28, 2005 at 12:42:56AM -0400, Arthur Othieno wrote: > Some boards have, eg.: > > arch/mips/momentum/ocelot_3/prom.c:242:void __init > prom_free_prom_memory(void) > > yet free_initmem() expects a return: > > arch/mips/mm/init.c:285:extern unsigned long prom_free_prom_memory(void); > arch/mips/mm/init.c:291: freed = prom_free_prom_memory(); > > Fix those up and return 0 instead, just like everyone else does. Thanks alot, applied. Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | missing /dev/tty0, Louis Lai |
|---|---|
| Next by Date: | Re: missing /dev/tty0, Yoann Allain |
| Previous by Thread: | [PATCH] mips: prom_free_prom_memory() returns `unsigned long', Arthur Othieno |
| Next by Thread: | missing /dev/tty0, Louis Lai |
| Indexes: | [Date] [Thread] [Top] [All Lists] |