Skip to content

iio: check more register fields used as table indices

Maoyi Xie linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4iio: accel: adxl380: check the HPF corner code in adxl380_get_hpf()drivers/iio/accel/adxl380.c+2 -00 replies
2/4iio: accel: fxls8962af: return int from two read helpersdrivers/iio/accel/fxls8962af-core.c+3 -40 replies
3/4iio: accel: fxls8962af: check WAKE_ODR in fxls8962af_read_samp_freq()drivers/iio/accel/fxls8962af-core.c+2 -00 replies
4/4iio: light: rpr0521: check the gain index in rpr0521_get_gain()drivers/iio/light/rpr0521.c+3 -00 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchArnav Kapoor
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] iio: check more register fields used as table indices

As mentioned in the cover letter of the first series [1], a few other IIO drivers have the same pattern. This series adds the same kind of check to three of them.

Patch 2 only changes the return type of two fxls8962af helpers to int. Patch 3 then adds the check to one of them.

[1] https://lore.kernel.org/linux-iio/[email protected]/

Maoyi Xie (4):
iio: accel: adxl380: check the HPF corner code in adxl380_get_hpf()
iio: accel: fxls8962af: return int from two read helpers
iio: accel: fxls8962af: check WAKE_ODR in fxls8962af_read_samp_freq()
iio: light: rpr0521: check the gain index in rpr0521_get_gain()

 drivers/iio/accel/adxl380.c         | 2 ++
 drivers/iio/accel/fxls8962af-core.c | 9 +++++----
 drivers/iio/light/rpr0521.c         | 3 +++
 3 files changed, 10 insertions(+), 4 deletions(-)

base-commit: 7cd8495c0f16275c4f9abe1cef09a7b5fcd6d046

Signature · 1 line
2.34.1