[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <62bab62f-5fde-437b-a7cb-4426d57004e6@web.de>
Date: Sat, 31 Jan 2026 07:33:09 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Chen Ni <nichen@...as.ac.cn>, linux-media@...r.kernel.org,
Benjamin Mugnier <benjamin.mugnier@...s.st.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Sakari Ailus <sakari.ailus@...ux.intel.com>,
Sylvain Petinot <sylvain.petinot@...s.st.com>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] media: i2c: vgxy61: Check return value of
devm_gpiod_get_optional() in vgxy61_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