mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Olaf Hering <olh@suse.de>, Linus Torvalds <torvalds@osdl.org>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.6.10-rc1-bk7] Fix ppc32 compile (Was: Re: prep_setup.c syntax error)
Date: Thu, 28 Oct 2004 13:58:48 -0700	[thread overview]
Message-ID: <20041028205848.GE2097@smtp.west.cox.net> (raw)
In-Reply-To: <20041028201534.GA6248@suse.de>

On Thu, Oct 28, 2004 at 10:15:34PM +0200, Olaf Hering wrote:

> the last patch doesnt compile.
> 
> linux-2.6.10-rc1-bk7/arch/ppc/platforms/prep_setup.c:967: error: parse error before "return"
> 
> 
> http://linux.bkbits.net:8080/linux-2.5/gnupatch@41801ba70RWW4DIxeswrgPg6ExEg2w

D'oh.  Something got cut-off there on Randy's end.  Obviously correct
fix follows.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>

--- 1.57/arch/ppc/platforms/prep_setup.c	2004-10-27 15:05:16 -07:00
+++ edited/arch/ppc/platforms/prep_setup.c	2004-10-28 13:55:20 -07:00
@@ -964,7 +964,8 @@
 	if (OpenPIC_Addr != NULL)
 		/* We have a cascade on OpenPIC IRQ 0, Linux IRQ 16 */
 		openpic_hookup_cascade(NUM_8259_INTERRUPTS, "82c59 cascade",
-				return 0;
+				i8259_irq);
+	return 0;
 }
 arch_initcall(prep_request_cascade);
 
-- 
Tom Rini
http://gate.crashing.org/~trini/

           reply	other threads:[~2004-10-28 20:59 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20041028201534.GA6248@suse.de>]

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=20041028205848.GE2097@smtp.west.cox.net \
    --to=trini@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olh@suse.de \
    --cc=torvalds@osdl.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

all inboxes | Powered by JetHome®