mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mikael Pettersson <mikpe@csd.uu.se>
To: akpm@osdl.org, paulus@samba.org
Cc: linux-kernel@vger.kernel.org, linuxppc64-dev@ozlabs.org
Subject: [PATCH][2.6.12-rc1-mm1] fix compile error in ppc64 prom.c
Date: Mon, 21 Mar 2005 16:19:01 +0100 (MET)	[thread overview]
Message-ID: <200503211519.j2LFJ1os021884@harpo.it.uu.se> (raw)

Compiling 2.6.12-rc1-mm1 for ppc64 fails with:

arch/ppc64/kernel/prom.c:1691: error: syntax error before 'prom_reconfig_notifier'
arch/ppc64/kernel/prom.c:1692: error: field name not in record or union initializer
arch/ppc64/kernel/prom.c:1692: error: (near initialization for 'prom_reconfig_nb')
arch/ppc64/kernel/prom.c:1692: warning: initialization makes pointer from integer without a cast
make[1]: *** [arch/ppc64/kernel/prom.o] Error 1
make: *** [arch/ppc64/kernel] Error 2

Fix: repair the obvious syntax error (missing "=").

Signed-off-by: Mikael Pettersson <mikpe@csd.uu.se>

--- linux-2.6.12-rc1-mm1/arch/ppc64/kernel/prom.c.~1~	2005-03-21 14:48:51.000000000 +0100
+++ linux-2.6.12-rc1-mm1/arch/ppc64/kernel/prom.c	2005-03-21 15:14:19.000000000 +0100
@@ -1688,7 +1688,7 @@ static int prom_reconfig_notifier(struct
 }
 
 static struct notifier_block prom_reconfig_nb = {
-	.notifier_call prom_reconfig_notifier,
+	.notifier_call = prom_reconfig_notifier,
 	.priority = 10, /* This one needs to run first */
 };
 

             reply	other threads:[~2005-03-21 15:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-21 15:19 Mikael Pettersson [this message]
2005-03-21 16:45 ` Nathan Lynch
2005-03-21 21:55 ` Paul Mackerras
2005-03-21 22:56   ` Nathan Lynch

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=200503211519.j2LFJ1os021884@harpo.it.uu.se \
    --to=mikpe@csd.uu.se \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc64-dev@ozlabs.org \
    --cc=paulus@samba.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®