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: <b2f8b915-a16c-8e41-a57d-5d0f9489aa72@infradead.org>
Date:   Wed, 22 Feb 2017 10:43:33 -0800
From:   Randy Dunlap <rdunlap@...radead.org>
To:     LKML <linux-kernel@...r.kernel.org>
Cc:     Kishon Vijay Abraham I <kishon@...com>
Subject: [PATCH -next] phy: phy-qcom-usb-hs needs EXTCON

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

Fix phy-qcom-usb-hs.c build when CONFIG_EXTCON=m.

Fixes these build errros:
drivers/built-in.o: In function `qcom_usb_hs_phy_power_off':
phy-qcom-usb-hs.c:(.text+0x2361): undefined reference to `extcon_unregister_notifier'
drivers/built-in.o: In function `qcom_usb_hs_phy_power_on':
phy-qcom-usb-hs.c:(.text+0x2456): undefined reference to `extcon_get_state'
phy-qcom-usb-hs.c:(.text+0x2477): undefined reference to `extcon_register_notifier'
drivers/built-in.o: In function `qcom_usb_hs_phy_probe':
phy-qcom-usb-hs.c:(.text+0x269e): undefined reference to `extcon_get_edev_by_phandle'

Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc:	Kishon Vijay Abraham I <kishon@...com>
---
 drivers/phy/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20170222.orig/drivers/phy/Kconfig
+++ linux-next-20170222/drivers/phy/Kconfig
@@ -448,7 +448,7 @@ config PHY_QCOM_UFS
 
 config PHY_QCOM_USB_HS
 	tristate "Qualcomm USB HS PHY module"
-	depends on USB_ULPI_BUS
+	depends on USB_ULPI_BUS && EXTCON
 	select GENERIC_PHY
 	help
 	  Support for the USB high-speed ULPI compliant phy on Qualcomm

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ