[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c66d94e8-296c-48ef-a298-941ac2250610@web.de>
Date: Sat, 31 Jan 2026 07:24:00 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Chen Ni <nichen@...as.ac.cn>, linux-media@...r.kernel.org,
Krzysztof Hałasa <khalasa@...p.pl>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Sakari Ailus <sakari.ailus@...ux.intel.com>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] media: i2c: ar0521: Check return value of
devm_gpiod_get_optional() in ar0521_probe()
…
> Add an IS_ERR() check after the function call to catch such errors and
> propagate them to the probe function, ensuring the driver fails to load
> safely rather than proceeding with an invalid pointer.
* Were any source code analysis tools involved here?
* Did anything hinder to add any tags (like “Fixes” and “Cc”) accordingly?
Regards,
Markus
Powered by blists - more mailing lists