From: Sam Ravnborg <sam@ravnborg.org>
To: sparclinux@vger.kernel.org
Subject: Re: [PATCH 24/24] sparc32: fix sparse warnings in leon_smp.c
Date: Mon, 21 Apr 2014 17:56:10 +0000 [thread overview]
Message-ID: <20140421175610.GA22788@ravnborg.org> (raw)
In-Reply-To: <1398100356-19794-24-git-send-email-sam@ravnborg.org>
On Mon, Apr 21, 2014 at 01:32:06PM -0400, David Miller wrote:
> From: Sam Ravnborg <sam@ravnborg.org>
> Date: Mon, 21 Apr 2014 19:12:36 +0200
>
> > -void leon_cpu_pre_starting(void *arg);
> > -void leon_cpu_pre_online(void *arg);
> > +extern void leon_cpu_pre_starting(void *arg);
> > +extern void leon_cpu_pre_online(void *arg);
> > +extern void leonsmp_ipi_interrupt(void);
> > +extern void leon_cross_call_irq(void);
>
> For header files, we are moving away from specifying extern for external
> function declarations.
>
> In the networking, we've made this transformation in all of our headers
> already, for example.
I have missed that.
>
> So if anything, you should be changing things to other way around.
I prefer to send follow-up patches that fixes this for all of sparc,
but I can also redo the serie if you prefer.
You will still have follow-up patches to fix the existing
extern-for-prototypes users.
Sam
next prev parent reply other threads:[~2014-04-21 17:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-21 17:12 [PATCH 24/24] sparc32: fix sparse warnings in leon_smp.c Sam Ravnborg
2014-04-21 17:32 ` David Miller
2014-04-21 17:56 ` Sam Ravnborg [this message]
2014-04-21 18:27 ` David Miller
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=20140421175610.GA22788@ravnborg.org \
--to=sam@ravnborg.org \
--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.