]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
staging: vchiq_arm: Make vchiq_shutdown never fail
authorStefan Wahren <wahrenst@gmx.net>
Tue, 15 Jul 2025 16:11:08 +0000 (18:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Aug 2025 10:04:46 +0000 (12:04 +0200)
commite5d6a95605f19641d284c2137f42fd9259347a6d
tree306442b97f4e86b1f7a5c3f62ad967fee0217478
parent4a607dcbbb547a2859388c1490337ed996950b8d
staging: vchiq_arm: Make vchiq_shutdown never fail

[ Upstream commit f2b8ebfb867011ddbefbdf7b04ad62626cbc2afd ]

Most of the users of vchiq_shutdown ignore the return value,
which is bad because this could lead to resource leaks.
So instead of changing all calls to vchiq_shutdown, it's easier
to make vchiq_shutdown never fail.

Fixes: 71bad7f08641 ("staging: add bcm2708 vchiq driver")
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Link: https://lore.kernel.org/r/20250715161108.3411-4-wahrenst@gmx.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c