staging: rtl8723bs: fix unmet dependency on CRYPTO for CRYPTO_LIB_ARC4
When RTL8723BS is selected, and CRYPTO is not selected, Kbuild gives the following warning: WARNING: unmet direct dependencies detected for CRYPTO_LIB_ARC4 Depends on [n]: CRYPTO [=n] Selected by [m]: - RTL8723BS [=m] && STAGING [=y] && WLAN [=y] && MMC [=y] && CFG80211 [=y] && m && MODULES [=y] - RTLLIB_CRYPTO_WEP [=m] && STAGING [=y] && RTLLIB [=m] This is because RTL8723BS selects CRYPTO_LIB_ARC4 without selecting CRYPTO, despite CRYPTO_LIB_ARC4 depending on CRYPTO. This unmet dependency bug was detected by Kismet, a static analysis tool for Kconfig. Please advise if this is not the appropriate solution. Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Julian Braha <julianbraha@gmail.com> Link: https://lore.kernel.org/r/20211029214244.17341-1-julianbraha@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
d8a364820e
Коммит
88c47bbf9a
|
@ -4,6 +4,7 @@ config RTL8723BS
|
||||||
depends on WLAN && MMC && CFG80211
|
depends on WLAN && MMC && CFG80211
|
||||||
depends on m
|
depends on m
|
||||||
select CFG80211_WEXT
|
select CFG80211_WEXT
|
||||||
|
select CRYPTO
|
||||||
select CRYPTO_LIB_ARC4
|
select CRYPTO_LIB_ARC4
|
||||||
help
|
help
|
||||||
This option enables support for RTL8723BS SDIO drivers, such as
|
This option enables support for RTL8723BS SDIO drivers, such as
|
||||||
|
|
Загрузка…
Ссылка в новой задаче