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]
Date:   Fri, 17 Sep 2021 13:20:18 +0200 (CEST)
From:   Michal Kubecek <mkubecek@...e.cz>
To:     Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
        linux-kernel@...r.kernel.org
Cc:     Emmanuel Gil Peyrot <linkmauve@...kmauve.fr>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: [PATCH] nvmem: nintendo-otp: add dependency on CONFIG_HAS_IOMEM

Function nintendo_otp_probe() calls devm_ioremap_resource() which is only
available if CONFIG_HAS_IOMEM is enabled. Add a kconfig dependency like
other similar drivers have.

Fixes: 3683b761fe3a ("nvmem: nintendo-otp: Add new driver for the Wii and Wii U OTP")
Signed-off-by: Michal Kubecek <mkubecek@...e.cz>
---
 drivers/nvmem/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig
index 39854d43758b..fb4005df86c0 100644
--- a/drivers/nvmem/Kconfig
+++ b/drivers/nvmem/Kconfig
@@ -108,6 +108,7 @@ config MTK_EFUSE
 	  will be called efuse-mtk.
 
 config NVMEM_NINTENDO_OTP
+	depends on HAS_IOMEM
 	tristate "Nintendo Wii and Wii U OTP Support"
 	help
 	  This is a driver exposing the OTP of a Nintendo Wii or Wii U console.
-- 
2.33.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ