linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Dale Farnsworth" <dale@farnsworth.org>
To: linuxppc-dev@lists.linuxppc.org
Subject: [TRIVIAL PATCH] linuxppc_2_4_devel: boot/common/misc-simple.c
Date: Thu, 3 Apr 2003 13:08:52 -0700	[thread overview]
Message-ID: <20030403200852.GA3137@rover.farnsworth.org> (raw)


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/

             reply	other threads:[~2003-04-03 20:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-03 20:08 Dale Farnsworth [this message]
2003-04-03 20:19 ` [TRIVIAL PATCH] linuxppc_2_4_devel: boot/common/misc-simple.c Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030403200852.GA3137@rover.farnsworth.org \
    --to=dale@farnsworth.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).