Re: [PATCH] staging: iio: adt7316: Add error handling to adt7316_spi_probe()

Maxwell Doose
2026-04-27T12:38:26Z

Hi everyone,

On Mon, Apr 27, 2026 at 5:02 AM Jonathan Cameron <jic23@kernel.org> wrote:
>
> We do normally check spi and i2c writes.

Knew that, I was looking for unchecked probing and writing in this
area and came across this.

> Anyhow as far as I'm concerned adding checks to normal calls is
> fine, but not to things around reset, mode switches or power
> management unless you can test them.

Sorry, I didn't realize this area was *very* special. Obviously I do
now, but anyways, I'm going to drop this patch and focus on some other
things.

best regards,
maxwell