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

2024-01-23 Thread Janne Grunau
Hej Arnd, On Tue, Jan 23, 2024, at 08:34, Arnd Bergmann wrote: > 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_ra

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

2024-01-22 Thread Arnd Bergmann
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) >> { >

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

2024-01-22 Thread Janne Grunau
Hej, On Wed, Jan 17, 2024, at 11:44, Arnd Bergmann wrote: > From: Arnd Bergmann > > 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

[PATCH] drm: apple: mark local functions static

2024-01-17 Thread Arnd Bergmann
From: Arnd Bergmann 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 --- This is for the bits/200-dcp branch in https://github.com/AsahiLin