From: "Janne Grunau" <j@jannau.net>
To: "Arnd Bergmann" <arnd@kernel.org>,
"Alyssa Rosenzweig" <alyssa@rosenzweig.io>,
"Martin Povišer" <povik+lin@cutebit.org>
Cc: asahi@lists.linux.dev, "Hector Martin" <marcan@marcan.st>,
"Arnd Bergmann" <arnd@arndb.de>,
"Sven Peter" <sven@svenpeter.dev>,
"Asahi Lina" <lina@asahilina.net>,
dri-devel@lists.freedesktop.org,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] drm: apple: mark local functions static
Date: Mon, 22 Jan 2024 21:50:56 +0100 [thread overview]
Message-ID: <efebd848-c952-41f8-9422-fe2235d92259@app.fastmail.com> (raw)
In-Reply-To: <20240117104448.6852-1-arnd@kernel.org>
Hej,
On Wed, Jan 17, 2024, at 11:44, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> With linux-6.8, the kernel warns about functions that have no
> extern declaration, so mark both of these static.
>
> Fixes: 2d782b0d007d ("gpu: drm: apple: Add sound mode parsing")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> This is for the bits/200-dcp branch in https://github.com/AsahiLinux/linux,
> the code is not yet upstream.
> ---
> drivers/gpu/drm/apple/parser.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/apple/parser.c
> b/drivers/gpu/drm/apple/parser.c
> index 44aad9a64f9a..ea9f40bb7de2 100644
> --- a/drivers/gpu/drm/apple/parser.c
> +++ b/drivers/gpu/drm/apple/parser.c
> @@ -694,7 +694,7 @@ int parse_epic_service_init(struct dcp_parse_ctx
> *handle, const char **name,
> return ret;
> }
>
> -int parse_sample_rate_bit(struct dcp_parse_ctx *handle, unsigned int
> *ratebit)
> +static int parse_sample_rate_bit(struct dcp_parse_ctx *handle,
> unsigned int *ratebit)
> {
> s64 rate;
> int ret = parse_int(handle, &rate);
> @@ -715,7 +715,7 @@ int parse_sample_rate_bit(struct dcp_parse_ctx
> *handle, unsigned int *ratebit)
> return 0;
> }
>
> -int parse_sample_fmtbit(struct dcp_parse_ctx *handle, u64 *fmtbit)
> +static int parse_sample_fmtbit(struct dcp_parse_ctx *handle, u64 *fmtbit)
> {
> s64 sample_size;
> int ret = parse_int(handle, &sample_size);
thanks, patch included in my dev branch and will be in the next pull request I'll send to Hector.
I suppose the recipients are generated by an automated get_maintainers.pl invocation. Is that desired for out of tree drivers?
best regards,
Janne
next prev parent reply other threads:[~2024-01-22 20:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-17 10:44 Arnd Bergmann
2024-01-22 20:50 ` Janne Grunau [this message]
2024-01-23 7:34 ` Arnd Bergmann
2024-01-23 18:51 ` Janne Grunau
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=efebd848-c952-41f8-9422-fe2235d92259@app.fastmail.com \
--to=j@jannau.net \
--cc=alyssa@rosenzweig.io \
--cc=arnd@arndb.de \
--cc=arnd@kernel.org \
--cc=asahi@lists.linux.dev \
--cc=dri-devel@lists.freedesktop.org \
--cc=lina@asahilina.net \
--cc=linux-kernel@vger.kernel.org \
--cc=marcan@marcan.st \
--cc=povik+lin@cutebit.org \
--cc=sven@svenpeter.dev \
/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®