Zheng Yongjun
e5c87ee95d
ARM: mxs: fix memory leak in mxs_machine_init()
...
[ Upstream commit f31e3c204d1844b8680a442a48868af5ac3d5481 ]
If of_property_read_string() failed, 'soc_dev_attr' should be
freed before return. Otherwise there is a memory leak.
Fixes: 2046338dcb ("ARM: mxs: Use soc bus infrastructure")
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-08 11:15:39 +01:00
..
alpha
tty: the rest, stop using tty_schedule_flip()
2022-07-29 17:05:47 +02:00
arc
arc: iounmap() arg is volatile
2022-11-03 23:49:17 +09:00
arm
ARM: mxs: fix memory leak in mxs_machine_init()
2022-12-08 11:15:39 +01:00
arm64
arm64: errata: Remove AES hwcap for COMPAT tasks
2022-11-03 23:49:15 +09: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: pic32: treat port as signed integer
2022-12-08 11:15:39 +01:00
mn10300
nios2
nios2: add force_successful_syscall_return()
2022-08-25 11:09:30 +02: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/futex: add missing EX_TABLE entry to __futex_atomic_op()
2022-11-03 23:49:16 +09: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/cpu: Restore AMD's DE_CFG MSR after resume
2022-11-25 17:35:38 +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