Anastasia Belova
1fa95583dc
MIPS: BCM63xx: Add check for NULL for clk in clk_enable
[ Upstream commit ee9ef11bd2a59c2fefaa0959e5efcdf040d7c654 ]
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 |
| .. |
|
alpha
|
alpha: fix syscall entry in !AUDUT_SYSCALL case
|
2023-01-07 12:07:13 +01:00 |
|
arc
|
arc: iounmap() arg is volatile
|
2022-11-03 23:49:17 +09:00 |
|
arm
|
ARM: mmp: fix timer_read delay
|
2023-01-07 12:07:13 +01:00 |
|
arm64
|
arm64: errata: Fix KVM Spectre-v2 mitigation selection for Cortex-A57/A72
|
2022-12-08 11:15:41 +01:00 |
|
avr32
|
|
|
|
blackfin
|
|
|
|
c6x
|
|
|
|
cris
|
|
|
|
frv
|
futex: Remove duplicated code and fix undefined behaviour
|
2018-05-19 10:27:00 +02:00 |
|
h8300
|
h8300: fix PREEMPTION build, TI_PRE_COUNT undefined
|
2021-02-23 13:59:16 +01:00 |
|
hexagon
|
hexagon: export raw I/O routines for modules
|
2021-11-26 11:48:42 +01:00 |
|
ia64
|
ia64, processor: fix -Wincompatible-pointer-types in ia64_get_irr()
|
2022-08-25 11:09:24 +02:00 |
|
m32r
|
|
|
|
m68k
|
m68k: use fallback for random_get_entropy() instead of zero
|
2022-06-25 11:45:13 +02:00 |
|
metag
|
|
|
|
microblaze
|
microblaze: Prevent the overflow of the start
|
2020-02-28 15:42:42 +01:00 |
|
mips
|
MIPS: BCM63xx: Add check for NULL for clk in clk_enable
|
2023-01-07 12:07:15 +01:00 |
|
mn10300
|
|
|
|
nios2
|
nios2: add FORCE for vmlinuz.gz
|
2022-12-08 11:15:40 +01:00 |
|
openrisc
|
openrisc: start CPU timer early in boot
|
2022-06-14 16:52:29 +02:00 |
|
parisc
|
parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines
|
2022-09-15 12:39:45 +02:00 |
|
powerpc
|
powerpc: Fix SPE Power ISA properties for e500v1 platforms
|
2022-10-26 13:15:44 +02:00 |
|
s390
|
s390/crashdump: fix TOD programmable field size
|
2022-12-08 11:15:40 +01:00 |
|
score
|
|
|
|
sh
|
sh: machvec: Use char[] for section boundaries
|
2022-10-26 13:15:38 +02:00 |
|
sparc
|
sparc: use fallback for random_get_entropy() instead of zero
|
2022-06-25 11:45:13 +02:00 |
|
tile
|
locking/x86: Remove the unused atomic_inc_short() methd
|
2020-01-12 11:24:19 +01:00 |
|
um
|
UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
|
2022-10-26 13:15:37 +02:00 |
|
unicore32
|
|
|
|
x86
|
x86/xen: Fix memory leak in xen_init_lock_cpu()
|
2023-01-07 12:07:15 +01:00 |
|
xtensa
|
xtensa: Fix refcount leak bug in time.c
|
2022-07-02 16:17:15 +02:00 |
|
.gitignore
|
|
|
|
Kconfig
|
cpu/hotplug: Provide knobs to control SMT
|
2018-08-15 18:14:46 +02:00 |