[PATCH v2] drm: add missing MODULE_DESCRIPTION() macros

Jeff Johnson quic_jjohnson at quicinc.com
Tue Jun 11 13:59:16 UTC 2024


On 6/11/2024 6:56 AM, Jeff Johnson wrote:
> On x86, make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/gud/gud.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/drm_panel_orientation_quirks.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/i915/kvmgt.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/udl/udl.o
> 
> Add the missing invocation of the MODULE_DESCRIPTION() macro to all
> files which have a MODULE_LICENSE().
> 
> For consistency this includes drivers/gpu/drm/drm_simple_kms_helper.c
> since it contains a MODULE_LICENSE() even though it isn't built as a
> separate module -- it is always built as part of drm_kms_helper and
> drm_kms_helper_common.c already provides a MODULE_DESCRIPTION for that
> module.
> 
> Signed-off-by: Jeff Johnson <quic_jjohnson at quicinc.com>
> ---
> This is the last in a set of patches to drivers/gpu/drm. The
> preceeding patches cleaned up subdirectiries that had more than one
> issue. This patch cleans up the stragglers. Let me know if any of
> these modifications need to segregated into separate patches.
> ---
> Changes in v2:
> - Removed all references to drivers/gpu/drm/drm_mipi_dbi.c since it is already
>   being handled by:
>   https://lore.kernel.org/all/20240425125627.2275559-1-andriy.shevchenko@linux.intel.com/
> - Link to v1: https://lore.kernel.org/r/20240609-md-drivers-gpu-drm-v1-1-89e9a316d513@quicinc.com

Nevermind, as Andy pointed out my v1 has already been applied.




More information about the dri-devel mailing list