• Jeff Johnson's avatar
    perf: add missing MODULE_DESCRIPTION() macros · 42bebc7c
    Jeff Johnson authored
    With ARCH=x86, make allmodconfig && make W=1 C=1 reports:
    WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/perf/arm-ccn.o
    WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/perf/fsl_imx8_ddr_perf.o
    WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/perf/marvell_cn10k_ddr_pmu.o
    WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/perf/arm_cspmu/arm_cspmu_module.o
    WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/perf/arm_cspmu/nvidia_cspmu.o
    WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/perf/arm_cspmu/ampere_cspmu.o
    WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/perf/cxl_pmu.o
    
    Add the missing invocation of the MODULE_DESCRIPTION() macro to all
    files which have a MODULE_LICENSE().
    
    This includes drivers/perf/hisilicon/hisi_uncore_pmu.c which, although
    it did not produce a warning with the x86 allmodconfig configuration,
    may cause this warning with arm64 configurations.
    Signed-off-by: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
    Link: https://lore.kernel.org/r/20240709-md-drivers-perf-v3-1-513275b75ed0@quicinc.comSigned-off-by: default avatarWill Deacon <will@kernel.org>
    42bebc7c
arm-ccn.c 45.3 KB