[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cf276696-2928-4ddd-9750-db84466e4599@baylibre.com>
Date: Wed, 22 Oct 2025 10:13:59 -0500
From: David Lechner <dlechner@...libre.com>
To: Dan Carpenter <dan.carpenter@...aro.org>,
Remi Buisson <remi.buisson@....com>
Cc: Jonathan Cameron <jic23@...nel.org>, Nuno Sá
<nuno.sa@...log.com>, Andy Shevchenko <andy@...nel.org>,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH next] iio: imu: inv_icm45600: Add a missing return
statement in probe()
On 10/22/25 6:02 AM, Dan Carpenter wrote:
> The intention here was clearly to return -ENODEV but the return statement
> was missing. It would result in an off by one read in i3c_chip_info[] on
> the next line. Add the return statement.
>
> Fixes: 1bef24e9007e ("iio: imu: inv_icm45600: add I3C driver for inv_icm45600 driver")
> Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
> ---
Reviewed-by: David Lechner <dlechner@...libre.com>
Powered by blists - more mailing lists