lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1333307374-25848-1-git-send-email-tdent48227@gmail.com>
Date:	Sun,  1 Apr 2012 15:09:34 -0400
From:	Tracey Dent <tdent48227@...il.com>
To:	linux-kernel@...r.kernel.org
Cc:	shea@...alevy.com, torvalds@...ux-foundation.org,
	mchehab@...radead.org, hans.verkuil@...co.com,
	linux-media@...r.kernel.org, Tracey Dent <tdent48227@...il.com>
Subject: [PATCH 1/1] Drivers/media/radio: Fix build error

radio-maxiradio depends on SND_FM801_TEA575X_BOOL to build or will
result in an build error such as:

Kernel: arch/x86/boot/bzImage is ready  (#1)
ERROR: "snd_tea575x_init" [drivers/media/radio/radio-maxiradio.ko] undefined!
ERROR: "snd_tea575x_exit" [drivers/media/radio/radio-maxiradio.ko] undefined!
WARNING: modpost: Found 6 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Select CONFIG_SND_TEA575X to fixes problem and enable
the driver to be built as desired.

v2:
instead of selecting CONFIG_SND_FM801_TEA575X_BOOL, select
CONFIG_SND_TEA575X, which in turns selects CONFIG_SND_FM801_TEA575X_BOOL
and any other dependencies for it to build.

Reported-by: Shea Levy <shea@...alevy.com>
Signed-off-by: Tracey Dent <tdent48227@...il.com>
---
 drivers/media/radio/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/radio/Kconfig b/drivers/media/radio/Kconfig
index 8db2d7f..b518ce5 100644
--- a/drivers/media/radio/Kconfig
+++ b/drivers/media/radio/Kconfig
@@ -44,6 +44,7 @@ config USB_DSBR
 config RADIO_MAXIRADIO
 	tristate "Guillemot MAXI Radio FM 2000 radio"
 	depends on VIDEO_V4L2 && PCI && SND
+	select SND_TEA575X
 	---help---
 	  Choose Y here if you have this radio card.  This card may also be
 	  found as Gemtek PCI FM.
-- 
1.7.10.rc3.3.g19a6c

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ