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

From: Sakari Ailus
Date: Wed May 26 2021 - 10:49:54 EST


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@xxxxxxxxx>

Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>

--
Sakari Ailus