commit | 72962620efcbbb68f21c1a28c984572073790b28 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Thu Jun 10 08:57:02 2021 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 14 16:55:54 2021 +0200 |
tree | f86efde1237abf84c66c07f18ce2ea0b0bb38de4 | |
parent | cc4ba5a3979a2b2d17990f75348c43c9131d83ff [diff] |
media: siano: fix device register error path [ Upstream commit 5368b1ee2939961a16e74972b69088433fc52195 ] As reported by smatch: drivers/media/common/siano/smsdvb-main.c:1231 smsdvb_hotplug() warn: '&client->entry' not removed from list If an error occur at the end of the registration logic, it won't drop the device from the list. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>