[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aKXgWNBwcHrbCbFo@smile.fi.intel.com>
Date: Wed, 20 Aug 2025 17:48:56 +0300
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: Salah Triki <salah.triki@...il.com>
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
jic23@...nel.org, dlechner@...libre.com, nuno.sa@...log.com,
andy@...nel.org, Markus.Elfring@....de
Subject: Re: [PATCH v4 1/3] iio: pressure: bmp280: Use IS_ERR() in
bmp280_common_probe()
On Mon, Aug 18, 2025 at 10:27:30AM +0100, Salah Triki wrote:
> `devm_gpiod_get_optional()` may return non-NULL error pointer on failure.
> Check its return value using `IS_ERR()` and propagate the error if
> necessary.
> Fixes: df6e71256c84 ("iio: pressure: bmp280: Explicitly mark GPIO optional")
> Cc: David Lechner <dlechner@...libre.com>
> Cc: Jonathan Cameron <jic23@...nel.org>
> Cc: Andy Shevchenko <andy@...nel.org>
> Cc: Nuno Sá <nuno.sa@...log.com>
> Cc: Markus Elfring <Markus.Elfring@....de>
Please, next time move the Cc:s to be the after '---' line...
> Signed-off-by: Salah Triki <salah.triki@...il.com>
> Reviewed-by: David Lechner <dlechner@...libre.com>
> ---
...somewhere here.
It will reduce a lot the noise in the commit message. The all people will be
Cc'ed anyway (assuming you use `git send-email`).
> drivers/iio/pressure/bmp280-core.c | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
Jonathan, would it be possible to drop them from the commit you pushed?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists