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: <20241003-iio-select-v1-0-67c0385197cd@gmail.com>
Date: Thu, 03 Oct 2024 23:04:46 +0200
From: Javier Carrasco <javier.carrasco.cruz@...il.com>
To: Jonathan Cameron <jic23@...nel.org>, 
 Lars-Peter Clausen <lars@...afoo.de>, 
 Matti Vaittinen <mazziesaccount@...il.com>, 
 Andy Shevchenko <andriy.shevchenko@...ux.intel.com>, 
 David Lechner <dlechner@...libre.com>, Nuno Sa <nuno.sa@...log.com>, 
 Dan Murphy <dmurphy@...com>, Sean Nyekjaer <sean@...nix.com>, 
 Leonard Göhrs <l.goehrs@...gutronix.de>, 
 Mihail Chindris <mihail.chindris@...log.com>, 
 Alexandru Ardelean <ardeleanalex@...il.com>, 
 Gustavo Silva <gustavograzs@...il.com>, Shoji Keita <awaittrot@...k.jp>, 
 Andrey Skvortsov <andrej.skvortzov@...il.com>, 
 Dalton Durst <dalton@...orts.com>, Icenowy Zheng <icenowy@...c.io>, 
 Andreas Klinger <ak@...klinger.de>
Cc: Jonathan Cameron <Jonathan.Cameron@...wei.com>, 
 linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org, 
 Ondrej Jirman <megi@....cz>, 
 Javier Carrasco <javier.carrasco.cruz@...il.com>
Subject: [PATCH 00/13] iio: add missing select REMAP_SPI, IIO_BUFFER, and
 IIO_TRIGGERED_BUFFER

The following drivers make use of IIO_BUFFER and IIO_TRIGGERED_BUFFER,
but they don't select the required modules in their Kconfig entries.
There is also one case where REGMAP_SPI must be selected as well.

These entries have been missing since the drivers where introduced in
most cases, but in some occasions they were not added while adding
support for triggered buffers. If anyone wants to know, please take a
look at the Fixes: tags for more information.

Usually you will not notice the missing dependencies, but tiny
config files where those drivers are include will lead to multiple
errors when compiling and linking.

I have already sent a series that fixes this issue (mainly focused on
REGMAP*) [1] in some drivers, and this one attempts to complete the job
at least for REGMAP*, IIO_BUFFER and IIO_TRIGGERED_BUFFER.

Link: https://lore.kernel.org/linux-iio/20241003-ad2s1210-select-v1-0-4019453f8c33@gmail.com/T/#t [1]
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@...il.com>
---
Javier Carrasco (13):
      iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: adc: ad7944: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: adc: ti-ads124s08: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: adc: ti-lmp92064: add missing select REGMAP_SPI in Kconfig
      iio: adc: ti-lmp92064: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: dac: ad3552r: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: dac: ad5766: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: chemical: ens160: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: light: bu27008: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: magnetometer: af8133j: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: pressure: bu1390: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig

 drivers/iio/accel/Kconfig        | 2 ++
 drivers/iio/adc/Kconfig          | 9 +++++++++
 drivers/iio/chemical/Kconfig     | 2 ++
 drivers/iio/dac/Kconfig          | 4 ++++
 drivers/iio/light/Kconfig        | 2 ++
 drivers/iio/magnetometer/Kconfig | 2 ++
 drivers/iio/pressure/Kconfig     | 3 +++
 drivers/iio/proximity/Kconfig    | 2 ++
 8 files changed, 26 insertions(+)
---
base-commit: c02d24a5af66a9806922391493205a344749f2c4
change-id: 20241003-iio-select-209410bf9170

Best regards,
-- 
Javier Carrasco <javier.carrasco.cruz@...il.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ