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]
Message-Id: <20211002232803.5108-1-rdunlap@infradead.org>
Date:   Sat,  2 Oct 2021 16:28:03 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     linux-kernel@...r.kernel.org
Cc:     Randy Dunlap <rdunlap@...radead.org>,
        Jacopo Mondi <jacopo@...ndi.org>,
        Jonathan Cameron <Jonathan.Cameron@...wei.com>,
        linux-iio@...r.kernel.org
Subject: [PATCH -next] iio: chemical: SENSEAIR_SUNRISE_CO2 depends on I2C

Fix kconfig symbol dependency warning:

WARNING: unmet direct dependencies detected for REGMAP_I2C
  Depends on [n]: I2C [=n]
  Selected by [y]:
  - SENSEAIR_SUNRISE_CO2 [=y] && IIO [=y]

Fixes: c3253a3fdc77 ("iio: chemical: Add Senseair Sunrise 006-0-007 drive")
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Jacopo Mondi <jacopo@...ndi.org>
Cc: Jonathan Cameron <Jonathan.Cameron@...wei.com>
Cc: linux-iio@...r.kernel.org
---
 drivers/iio/chemical/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20211001.orig/drivers/iio/chemical/Kconfig
+++ linux-next-20211001/drivers/iio/chemical/Kconfig
@@ -172,6 +172,7 @@ config SPS30_SERIAL
 
 config SENSEAIR_SUNRISE_CO2
 	tristate "Senseair Sunrise 006-0-0007 CO2 sensor"
+	depends on I2C
 	select REGMAP_I2C
 	help
 	  Say yes here to build support for Senseair Sunrise 006-0-0007 CO2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ