[ldv-project] [PATCH] media: marvell-ccic: set error code in probe

Sakari Ailus sakari.ailus at linux.intel.com
Wed May 26 17:49:46 MSK 2021


On Wed, May 26, 2021 at 05:35:06PM +0300, Evgeny Novikov wrote:
> When i2c_new_client_device() fails, cafe_pci_probe() cleans up all
> resources and returns 0. The patch sets the error code on the
> corresponding path.
> 
> Found by Linux Driver Verification project (linuxtesting.org).
> 
> Signed-off-by: Evgeny Novikov <novikov at ispras.ru>

Acked-by: Sakari Ailus <sakari.ailus at linux.intel.com>

-- 
Sakari Ailus



More information about the ldv-project mailing list