[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5hfsmp2t5t.wl-tiwai@suse.de>
Date: Thu, 07 Apr 2022 10:29:18 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
kernel test robot <lkp@...el.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, alsa-devel@...a-project.org
Subject: Re: [PATCH v3] sound/oss/dmasound: fix build when drivers are mixed =y/=m
On Wed, 06 Apr 2022 01:41:18 +0200,
Randy Dunlap wrote:
>
> When CONFIG_DMASOUND_ATARI=m and CONFIG_DMASOUND_Q40=y (or vice versa),
> dmasound_core.o can be built without dmasound_deinit() being defined,
> causing a build error:
>
> ERROR: modpost: "dmasound_deinit" [sound/oss/dmasound/dmasound_atari.ko] undefined!
>
> Modify dmasound_core.c and dmasound.h so that dmasound_deinit() is
> always available.
>
> The mixed modes (=y/=m) also mean that several variables and structs
> have to be declared in all cases.
>
> Suggested-by: Arnd Bergmann <arnd@...db.de>
> Suggested-by: Geert Uytterhoeven <geert@...ux-m68k.org>
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Reported-by: kernel test robot <lkp@...el.com>
> Link: lore.kernel.org/r/202204032138.EFT9qGEd-lkp@...el.com
> Cc: Geert Uytterhoeven <geert@...ux-m68k.org>
> Cc: Jaroslav Kysela <perex@...ex.cz>
> Cc: Takashi Iwai <tiwai@...e.com>
> Cc: alsa-devel@...a-project.org
Thanks, applied now.
Takashi
Powered by blists - more mailing lists