Re: [PATCH] drm: apple: mark local functions static

From: Arnd Bergmann
Date: Tue Jan 23 2024 - 02:34:38 EST


On Mon, Jan 22, 2024, at 21:50, Janne Grunau wrote:
> On Wed, Jan 17, 2024, at 11:44, Arnd Bergmann wrote:
>>
>> -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?

I was wondering about that as well, as I don't usually send
patches for code that isn't at least in linux-next yet.

I ended up using what is in the MAINTAINERS file for this driver
in the branch as that is is all I have at this point:

APPLE DRM DISPLAY DRIVER
M: Alyssa Rosenzweig <alyssa@xxxxxxxxxxxxx>
L: dri-devel@xxxxxxxxxxxxxxxxxxxxx
S: Maintained
T: git git://anongit.freedesktop.org/drm/drm-misc
F: drivers/gpu/drm/apple/

I left out the drivers/gpu/ maintainer addresses though.

Arnd