linux-stable/arch
Anastasia Belova 50dd650c29 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-18 11:30:08 +01:00
..
alpha alpha: fix syscall entry in !AUDUT_SYSCALL case 2023-01-18 11:30:04 +01:00
arc arc: iounmap() arg is volatile 2022-11-03 23:52:30 +09:00
arm ARM: mmp: fix timer_read delay 2023-01-18 11:30:04 +01:00
arm64 arm64: dts: mediatek: mt6797: Fix 26M oscillator unit name 2023-01-18 11:30:02 +01:00
c6x
h8300
hexagon
ia64
m68k
microblaze
mips MIPS: BCM63xx: Add check for NULL for clk in clk_enable 2023-01-18 11:30:08 +01:00
nds32
nios2 nios2: add FORCE for vmlinuz.gz 2022-12-08 11:18:30 +01:00
openrisc
parisc parisc: Avoid printing the hardware path twice 2022-11-10 17:46:55 +01:00
powerpc powerpc: Fix SPE Power ISA properties for e500v1 platforms 2022-10-26 13:19:35 +02:00
riscv RISC-V: vdso: Do not add missing symbols to version section in linker script 2022-12-08 11:18:29 +01:00
s390 KVM: s390: vsie: Fix the initialization of the epoch extension (epdx) field 2022-12-14 11:28:27 +01:00
sh sh: machvec: Use char[] for section boundaries 2022-10-26 13:19:24 +02:00
sparc
um UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK 2022-10-26 13:19:22 +02:00
unicore32
x86 x86/xen: Fix memory leak in xen_init_lock_cpu() 2023-01-18 11:30:07 +01:00
xtensa
.gitignore
Kconfig