[PATCH] Fix duplicate C declaration warnings

Amogh amogh.linux.kernel.dev at gmail.com
Fri Mar 22 19:00:07 UTC 2024


On Thu, 2024-03-21 at 17:37 +0200, Jani Nikula wrote:
> Please paste the warnings here.
> 
> BR,
> Jani.
> 

Here are the warnings I got:

/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 is '.. c:function:: const struct drm_format_info *
drm_format_info (u32 format)'.
/home/amogh/Linux_Kernel_Workspace/linux-next/Documentation/gpu/drm-
kms:461: ./drivers/gpu/drm/drm_modeset_lock.c:392: WARNING: Duplicate C
declaration, also defined at gpu/drm-kms:49.
Declaration is '.. c:function:: int drm_modeset_lock (struct
drm_modeset_lock *lock, struct drm_modeset_acquire_ctx *ctx)'.

With Regards,
Amogh


More information about the dri-devel mailing list