Re: [PATCH v2] Fix duplicate C declaration warnings

2024-03-26 Thread Donald Hunter
Akira Yokosawa writes: > > That message of mine just pointed out that the Sphinx bug of false > duplicate C declaration warning first reported by Mauro (+CC'd) at: > https://github.com/sphinx-doc/sphinx/issues/8241 -- > "C domain issues when building the Linux Kernel documentation". > It had not b

Re: [PATCH v2] Fix duplicate C declaration warnings

2024-03-25 Thread Akira Yokosawa
Hello. Let me chime in. On Mon, 25 Mar 2024 13:03:10 +0530, Amogh Cheluvaraj wrote: [...] > After further introspection of the file drivers/gpu/drm/drm_fourcc.c, I > found that the warning is caused by having the same name for both the > struct and the function as in "const struct drm_format_info

Re: [PATCH v2] Fix duplicate C declaration warnings

2024-03-25 Thread Amogh
On Sat, 2024-03-23 at 20:43 +, Matthew Wilcox wrote: > On Sat, Mar 23, 2024 at 10:01:47PM +0530, Amogh Cheluvaraj wrote: > > Fix duplicate C declaration warnings at > > Documentation/gpu/drm-kms.rst that was found by > > compiling htmldocs > > I'm sure this removes the warning, but it removes

Re: [PATCH v2] Fix duplicate C declaration warnings

2024-03-23 Thread Matthew Wilcox
On Sat, Mar 23, 2024 at 10:01:47PM +0530, Amogh Cheluvaraj wrote: > Fix duplicate C declaration warnings at > Documentation/gpu/drm-kms.rst that was found by > compiling htmldocs I'm sure this removes the warning, but it removes all kernel-doc which exists in drivers/gpu/drm/drm_fourcc.c. Isn't t

[PATCH v2] Fix duplicate C declaration warnings

2024-03-23 Thread Amogh Cheluvaraj
Fix duplicate C declaration warnings at Documentation/gpu/drm-kms.rst that was found by compiling htmldocs /home/amogh/Linux_Kernel_Workspace/linux-next/Documentation/gpu/drm- kms:360: ./drivers/gpu/drm/drm_fourcc.c:344: WARNING: Duplicate C declaration, also defined at gpu/drm-kms:39. Declaration