Files
linux/arch/mips
Anastasia Belova 1fa95583dc MIPS: BCM63xx: Add check for NULL for clk in clk_enable
[ Upstream commit ee9ef11bd2 ]

Check clk for NULL before calling clk_enable_unlocked where clk
is dereferenced. There is such check in other implementations
of clk_enable.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: e7300d04bd ("MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs.")
Signed-off-by: Anastasia Belova <abelova@astralinux.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-07 12:07:15 +01:00
..
2016-08-03 08:16:30 +02:00
2019-02-27 10:06:59 +01:00
2018-09-26 08:36:33 +02:00
2016-05-28 12:35:09 +02:00
2021-11-26 11:48:40 +01:00
2015-11-11 08:36:36 +01:00
2021-08-15 13:01:01 +02:00