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>] [day] [month] [year] [list]
Message-ID: <314cbfef-ad4f-b0b2-d57b-3f54c062c1f8@infradead.org>
Date:   Tue, 14 Aug 2018 09:02:31 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     linux-media <linux-media@...r.kernel.org>,
        LKML <linux-kernel@...r.kernel.org>
Cc:     Neil Armstrong <narmstrong@...libre.com>,
        Mauro Carvalho Chehab <mchehab@...nel.org>
Subject: [PATCH -next] media: platform: fix cros-ec-cec build error

From: Randy Dunlap <rdunlap@...radead.org>

Fix build when MFD_CROS_EC is not enabled but COMPILE_TEST=y.
Fixes this build error:

ERROR: "cros_ec_cmd_xfer_status" [drivers/media/platform/cros-ec-cec/cros-ec-cec.ko] undefined!

Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Neil Armstrong <narmstrong@...libre.com>
Cc: Mauro Carvalho Chehab <mchehab@...nel.org>
---
 drivers/media/platform/Kconfig |    2 ++
 1 file changed, 2 insertions(+)

--- linux-next-20180814.orig/drivers/media/platform/Kconfig
+++ linux-next-20180814/drivers/media/platform/Kconfig
@@ -541,6 +541,8 @@ config VIDEO_CROS_EC_CEC
 	depends on MFD_CROS_EC || COMPILE_TEST
 	select CEC_CORE
 	select CEC_NOTIFIER
+	select CHROME_PLATFORMS
+	select CROS_EC_PROTO
 	---help---
 	  If you say yes here you will get support for the
 	  ChromeOS Embedded Controller's CEC.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ