mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 23:23:03 +00:00
db4bfcba7b
Use "select" to ensure that the required kconfig symbols are set as expected. Drop HOSTAUDIO since it is now equivalent to UML_SOUND. Set CONFIG_SOUND=m in ARCH=um defconfig files to maintain the status quo of the default configs. Allow SOUND with UML regardless of HAS_IOMEM. Otherwise there is a kconfig warning for unmet dependencies. (This was not an issue when SOUND was defined in arch/um/drivers/Kconfig. I have done 50 randconfig builds and didn't find any issues.) This fixes build errors when CONFIG_SOUND is not set: ld: arch/um/drivers/hostaudio_kern.o: in function `hostaudio_cleanup_module': hostaudio_kern.c:(.exit.text+0xa): undefined reference to `unregister_sound_mixer' ld: hostaudio_kern.c:(.exit.text+0x15): undefined reference to `unregister_sound_dsp' ld: arch/um/drivers/hostaudio_kern.o: in function `hostaudio_init_module': hostaudio_kern.c:(.init.text+0x19): undefined reference to `register_sound_dsp' ld: hostaudio_kern.c:(.init.text+0x31): undefined reference to `register_sound_mixer' ld: hostaudio_kern.c:(.init.text+0x49): undefined reference to `unregister_sound_dsp' and this kconfig warning: WARNING: unmet direct dependencies detected for SOUND Fixes:1da177e4c3
("Linux-2.6.12-rc2") Fixes:d886e87cb8
("sound: make OSS sound core optional") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: kernel test robot <lkp@intel.com> Closes: lore.kernel.org/r/202307141416.vxuRVpFv-lkp@intel.com Cc: Richard Weinberger <richard@nod.at> Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com> Cc: Johannes Berg <johannes@sipsolutions.net> Cc: linux-um@lists.infradead.org Cc: Tejun Heo <tj@kernel.org> Cc: Takashi Iwai <tiwai@suse.de> Cc: Jaroslav Kysela <perex@perex.cz> Cc: Masahiro Yamada <masahiroy@kernel.org> Cc: Nathan Chancellor <nathan@kernel.org> Cc: Nick Desaulniers <ndesaulniers@google.com> Cc: Nicolas Schier <nicolas@fjasle.eu> Cc: linux-kbuild@vger.kernel.org Cc: alsa-devel@alsa-project.org Reviewed-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Richard Weinberger <richard@nod.at>
73 lines
1.5 KiB
Plaintext
73 lines
1.5 KiB
Plaintext
# CONFIG_COMPACTION is not set
|
|
CONFIG_BINFMT_MISC=m
|
|
CONFIG_HOSTFS=y
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_POSIX_MQUEUE=y
|
|
CONFIG_NO_HZ=y
|
|
CONFIG_HIGH_RES_TIMERS=y
|
|
CONFIG_BSD_PROCESS_ACCT=y
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_IKCONFIG_PROC=y
|
|
CONFIG_LOG_BUF_SHIFT=14
|
|
CONFIG_CGROUPS=y
|
|
CONFIG_CGROUP_FREEZER=y
|
|
CONFIG_CGROUP_DEVICE=y
|
|
CONFIG_CPUSETS=y
|
|
CONFIG_CGROUP_CPUACCT=y
|
|
CONFIG_CGROUP_SCHED=y
|
|
CONFIG_BLK_CGROUP=y
|
|
# CONFIG_PID_NS is not set
|
|
CONFIG_SYSFS_DEPRECATED=y
|
|
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
CONFIG_IOSCHED_BFQ=m
|
|
CONFIG_SSL=y
|
|
CONFIG_NULL_CHAN=y
|
|
CONFIG_PORT_CHAN=y
|
|
CONFIG_PTY_CHAN=y
|
|
CONFIG_TTY_CHAN=y
|
|
CONFIG_XTERM_CHAN=y
|
|
CONFIG_CON_CHAN="pts"
|
|
CONFIG_SSL_CHAN="pts"
|
|
CONFIG_SOUND=m
|
|
CONFIG_UML_SOUND=m
|
|
CONFIG_DEVTMPFS=y
|
|
CONFIG_DEVTMPFS_MOUNT=y
|
|
CONFIG_BLK_DEV_UBD=y
|
|
CONFIG_BLK_DEV_LOOP=m
|
|
CONFIG_BLK_DEV_NBD=m
|
|
CONFIG_DUMMY=m
|
|
CONFIG_TUN=m
|
|
CONFIG_PPP=m
|
|
CONFIG_SLIP=m
|
|
CONFIG_LEGACY_PTY_COUNT=32
|
|
# CONFIG_HW_RANDOM is not set
|
|
CONFIG_UML_RANDOM=y
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
# CONFIG_IPV6 is not set
|
|
CONFIG_UML_NET=y
|
|
CONFIG_UML_NET_ETHERTAP=y
|
|
CONFIG_UML_NET_TUNTAP=y
|
|
CONFIG_UML_NET_SLIP=y
|
|
CONFIG_UML_NET_DAEMON=y
|
|
CONFIG_UML_NET_MCAST=y
|
|
CONFIG_UML_NET_SLIRP=y
|
|
CONFIG_EXT4_FS=y
|
|
CONFIG_REISERFS_FS=y
|
|
CONFIG_QUOTA=y
|
|
CONFIG_AUTOFS_FS=m
|
|
CONFIG_ISO9660_FS=m
|
|
CONFIG_JOLIET=y
|
|
CONFIG_PROC_KCORE=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_NLS=y
|
|
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
|
|
CONFIG_FRAME_WARN=1024
|
|
CONFIG_DEBUG_KERNEL=y
|