From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] MIPS: fw arc: Fix missing prototypes
Date: Mon, 22 Jan 2024 11:15:04 +0100 [thread overview]
Message-ID: <Za5AKJAk274LQA3h@alpha.franken.de> (raw)
In-Reply-To: <20240119133634.96420-1-tsbogend@alpha.franken.de>
On Fri, Jan 19, 2024 at 02:36:34PM +0100, Thomas Bogendoerfer wrote:
> Make ArcGetMemoryDescriptor() static since it's only needed internally.
>
> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> ---
> arch/mips/fw/arc/memory.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/mips/fw/arc/memory.c b/arch/mips/fw/arc/memory.c
> index 66188739f54d..fb78e6fd5de4 100644
> --- a/arch/mips/fw/arc/memory.c
> +++ b/arch/mips/fw/arc/memory.c
> @@ -37,7 +37,7 @@ static unsigned int nr_prom_mem __initdata;
> */
> #define ARC_PAGE_SHIFT 12
>
> -struct linux_mdesc * __init ArcGetMemoryDescriptor(struct linux_mdesc *Current)
> +static struct linux_mdesc * __init ArcGetMemoryDescriptor(struct linux_mdesc *Current)
> {
> return (struct linux_mdesc *) ARC_CALL1(get_mdesc, Current);
> }
> --
> 2.35.3
applied to mips-fixes
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
prev parent reply other threads:[~2024-01-22 10:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-19 13:36 Thomas Bogendoerfer
2024-01-19 17:54 ` Florian Fainelli
2024-01-22 10:15 ` Thomas Bogendoerfer [this message]
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=Za5AKJAk274LQA3h@alpha.franken.de \
--to=tsbogend@alpha.franken.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@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 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®