diff options
author | Evgeny Novikov <novikov@ispras.ru> | 2021-05-26 17:35:06 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-06-17 11:21:24 +0300 |
commit | 2b889a4afcacef4888ac8203a60e68004816e1fd (patch) | |
tree | 5cb131d2336681d3f53c674bfa47cb092ab044b9 /kernel/workqueue.c | |
parent | e198be37e52551bb863d07d2edc535d0932a3c4f (diff) | |
download | linux-2b889a4afcacef4888ac8203a60e68004816e1fd.tar.xz |
media: marvell-ccic: set error code in probe
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@ispras.ru>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions