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: <20210517205231.1850314-1-trix@redhat.com>
Date:   Mon, 17 May 2021 13:52:31 -0700
From:   trix@...hat.com
To:     gregkh@...uxfoundation.org, masahiroy@...nel.org
Cc:     linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
        Tom Rix <trix@...hat.com>
Subject: [PATCH] USB: select WWAN_CORE for USB_WDM

From: Tom Rix <trix@...hat.com>

Link is failing with
cdc-wdm.c: undefined reference to `wwan_port_get_drvdata'

Add a select of WWAN_CORE to USB_WDM configury similar to
what is done for drivers/net/mhi_wwan_ctrl.c

Signed-off-by: Tom Rix <trix@...hat.com>
---
 drivers/usb/class/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/class/Kconfig b/drivers/usb/class/Kconfig
index d3f5162bd67ef..e5714fddf1642 100644
--- a/drivers/usb/class/Kconfig
+++ b/drivers/usb/class/Kconfig
@@ -30,6 +30,7 @@ config USB_PRINTER
 
 config USB_WDM
 	tristate "USB Wireless Device Management support"
+	select WWAN_CORE
 	help
 	  This driver supports the WMC Device Management functionality
 	  of cell phones compliant to the CDC WMC specification. You can use
-- 
2.26.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ