Linux IIO development
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: adc: ad4695: fix out of bounds array access
@ 2025-02-18 23:17 David Lechner
  2025-02-18 23:17 ` [PATCH 1/2] " David Lechner
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: David Lechner @ 2025-02-18 23:17 UTC (permalink / raw)
  To: Michael Hennerich, Nuno Sá, Lars-Peter Clausen,
	Jonathan Cameron, Trevor Gamblin
  Cc: Jonathan Cameron, linux-iio, linux-kernel, David Lechner

I was doing some more testing and found a bug with the
in_temp_sampling_frequency attribute being corrupted. This is a patch
to fix that, plus a bonus patch that cleans up some related code (it
wasn't strictly part of the fix, hence the separate patch).

Signed-off-by: David Lechner <dlechner@baylibre.com>
---
David Lechner (2):
      iio: adc: ad4695: fix out of bounds array access
      iio: adc: ad4695: simplify getting oversampling_ratio

 drivers/iio/adc/ad4695.c | 26 ++++++++++++++++++++------
 1 file changed, 20 insertions(+), 6 deletions(-)
---
base-commit: ac856912f210bcff6a1cf8cf9cb2f6a1dfe85798
change-id: 20250218-iio-adc-ad4695-fix-out-of-bounds-array-access-7f16ebc3be14

Best regards,
-- 
David Lechner <dlechner@baylibre.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-02-22 14:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-18 23:17 [PATCH 0/2] iio: adc: ad4695: fix out of bounds array access David Lechner
2025-02-18 23:17 ` [PATCH 1/2] " David Lechner
2025-02-22 14:58   ` Jonathan Cameron
2025-02-18 23:17 ` [PATCH 2/2] iio: adc: ad4695: simplify getting oversampling_ratio David Lechner
2025-02-19  1:09 ` [PATCH 0/2] iio: adc: ad4695: fix out of bounds array access Trevor Gamblin
2025-02-19 10:25 ` Nuno Sá

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox