Re: [PATCH 0/9] ALSA: Use *-y instead of *-objs in Makefile

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



On Tue, May 07, 2024 at 07:02:35PM +0300, Andy Shevchenko wrote:
> On Tue, May 07, 2024 at 03:55:00PM +0200, Takashi Iwai wrote:
> > Hi,
> > 
> > this is a series of trivial cleanup patches for Makefile in sound/*
> > (modulo ASoC -- which will be submitted later in a separate series).
> > 
> > As Andy suggested in a patch review, *-objs suffix in Makefile is
> > basically a mis-use nowadays for kernel driver modules.  They should
> > be replaced with *-y suffix instead.  This is a result of systematic
> > conversions, separated per directory.
> 
> I briefly looked at this and since it's a mechanical conversion I don't see
> any issues, so
> 
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Btw, make W=1 nowadays enables modpost checks, which complain about absence of
MODULE_DESCRIPTION().

Example:
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/core/snd-pcm-dmaengine.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-intel-atom.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-acpi-intel-byt.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-acpi-intel-bdw.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/snd-sof-utils.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/snd-sof-acpi.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/ac97_bus.o

I'm not sure what the case now for ALSA, just FYI.

-- 
With Best Regards,
Andy Shevchenko






[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux