All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Tom 'spot' Callaway" <tcallawa@redhat.com>
To: sparclinux@vger.kernel.org
Subject: [sparc32] [3/3] sun4d prom_adjust_ranges extern
Date: Wed, 22 Dec 2004 05:38:51 +0000	[thread overview]
Message-ID: <1103693931.3913.72.camel@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

Chris Newport and Thomas Bogendoerfer's sun4d patch adds a
prom_adjust_ranges call to drivers/sbus/sbus.c, but no extern for the
function, so we get this warning:

drivers/sbus/sbus.c: In function `sbus_bus_ranges_init':
drivers/sbus/sbus.c:243: warning: implicit declaration of function
`prom_adjust_ranges'

Adding the extern makes the warning go away.

Signed-off-by: Tom 'spot' Callaway <tcallawa@redhat.com>

~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> LCA, RHCE 
Red Hat Sales Engineer || Aurora Linux Project Leader

"If you are going through hell, keep going."
- Sir Winston Churchill

[-- Attachment #2: linux-2.6.9-sun4d-prom_adjust_ranges.patch --]
[-- Type: text/x-patch, Size: 531 bytes --]

--- linux-2.6.9/drivers/sbus/sbus.c.BAD	2004-12-21 23:13:04.166603659 -0500
+++ linux-2.6.9/drivers/sbus/sbus.c	2004-12-21 23:12:57.749579195 -0500
@@ -219,6 +219,9 @@ static void __init sbus_do_child_sibling
  */
 /* added back sun4d patch from Thomas Bogendoerfer - should be OK (crn) */
 
+extern void prom_adjust_ranges(struct linux_prom_ranges *ranges1, int nranges1,
+			       struct linux_prom_ranges *ranges2, int nranges2);
+
 static void __init sbus_bus_ranges_init(int parent_node, struct sbus_bus *sbus)
 {
 	int len;

             reply	other threads:[~2004-12-22  5:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-22  5:38 Tom 'spot' Callaway [this message]
2004-12-22 17:41 ` [sparc32] [3/3] sun4d prom_adjust_ranges extern William Lee Irwin III

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=1103693931.3913.72.camel@localhost.localdomain \
    --to=tcallawa@redhat.com \
    --cc=sparclinux@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.