Re: [PATCH v2] perf: add missing MODULE_DESCRIPTION() macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 01, 2024 at 08:38:02AM -0700, Jeff Johnson wrote:
> On 7/1/2024 7:05 AM, Will Deacon wrote:
> > On Thu, Jun 20, 2024 at 06:46:09PM -0700, Jeff Johnson wrote:
> >> diff --git a/drivers/perf/arm_cspmu/nvidia_cspmu.c b/drivers/perf/arm_cspmu/nvidia_cspmu.c
> >> index 5b84b701ad62..0dea47e48ac5 100644
> >> --- a/drivers/perf/arm_cspmu/nvidia_cspmu.c
> >> +++ b/drivers/perf/arm_cspmu/nvidia_cspmu.c
> >> @@ -417,4 +417,5 @@ static void __exit nvidia_cspmu_exit(void)
> >>  module_init(nvidia_cspmu_init);
> >>  module_exit(nvidia_cspmu_exit);
> >>  
> >> +MODULE_DESCRIPTION("NVIDIA Coresight Architecture PMU driver");
> >>  MODULE_LICENSE("GPL v2");
> >> diff --git a/drivers/perf/cxl_pmu.c b/drivers/perf/cxl_pmu.c
> >> index 1f93a66eff5b..8b6ce9ea5a55 100644
> >> --- a/drivers/perf/cxl_pmu.c
> >> +++ b/drivers/perf/cxl_pmu.c
> >> @@ -972,6 +972,7 @@ static __exit void cxl_pmu_exit(void)
> >>  	cpuhp_remove_multi_state(cxl_pmu_cpuhp_state_num);
> >>  }
> >>  
> >> +MODULE_DESCRIPTION("CXL Performance Monitoring Unit driver");
> > 
> > Similarly here, we now have a conflicting expansion of the acronym.
> 
> I'll make them consistent in the MODULE_DESCRIPTION()s.
> Do you have a preference for expanding or not expanding?

PMU is a terrible acronym, so I probably prefer expanding it unless it
causes problems.

Will




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux