* [TRIVIAL PATCH] linuxppc_2_4_devel: boot/common/misc-simple.c
@ 2003-04-03 20:08 Dale Farnsworth
2003-04-03 20:19 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Dale Farnsworth @ 2003-04-03 20:08 UTC (permalink / raw)
To: linuxppc-dev
Declare decompress_kernel to avoid compiler warnings about type mismatches.
Thanks,
-Dale
===== arch/ppc/boot/common/misc-simple.c 1.13 vs edited =====
--- 1.13/arch/ppc/boot/common/misc-simple.c Thu Mar 27 02:24:15 2003
+++ edited/arch/ppc/boot/common/misc-simple.c Thu Apr 3 12:57:39 2003
@@ -78,6 +78,8 @@
extern void serial_close(unsigned long com_port);
extern void gunzip(void *, int, unsigned char *, int *);
extern void serial_fixups(void);
+struct bi_record *decompress_kernel(unsigned long load_addr, int num_words,
+ unsigned long cksum, void *bp);
/* Allow decompress_kernel to be hooked into. This is the default. */
void * __attribute__ ((weak))
@@ -88,7 +90,8 @@
}
struct bi_record *
-decompress_kernel(unsigned long load_addr, int num_words, unsigned long cksum)
+decompress_kernel(unsigned long load_addr, int num_words, unsigned long cksum,
+ void *bp)
{
#ifdef INTERACTIVE_CONSOLE
int timer = 0;
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [TRIVIAL PATCH] linuxppc_2_4_devel: boot/common/misc-simple.c
2003-04-03 20:08 [TRIVIAL PATCH] linuxppc_2_4_devel: boot/common/misc-simple.c Dale Farnsworth
@ 2003-04-03 20:19 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2003-04-03 20:19 UTC (permalink / raw)
To: Dale Farnsworth; +Cc: linuxppc-dev
On Thu, Apr 03, 2003 at 01:08:52PM -0700, Dale Farnsworth wrote:
> Declare decompress_kernel to avoid compiler warnings about type mismatches.
That's a "d'oh", and fixed in a different manner that will be pulled in
for 2.4.21-pre7, once tagged.
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-03 20:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-03 20:08 [TRIVIAL PATCH] linuxppc_2_4_devel: boot/common/misc-simple.c Dale Farnsworth
2003-04-03 20:19 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).