linux-stable/drivers
Liang He 3b321bf768 memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()
[ Upstream commit 48af14fb0e ]

We should add the of_node_put() when breaking out of
for_each_child_of_node() as it will automatically increase
and decrease the refcount.

Fixes: 976897dd96 ("memory: Extend of_memory with LPDDR3 support")
Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220719085640.1210583-2-windhl@126.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-21 12:38:31 +02:00
..
accessibility
acpi ACPI: PCC: Fix Tx acknowledge in the PCC address space handler 2022-10-21 12:38:00 +02:00
amba
android
ata
atm
auxdisplay
base arm64: topology: move store_cpu_topology() to shared code 2022-10-21 12:37:38 +02:00
bcma
block
bluetooth Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure 2022-10-21 12:38:11 +02:00
bus
cdrom
char hwrng: core - let sleep be interrupted when unregistering hwrng 2022-10-21 12:37:46 +02:00
clk
clocksource clocksource/drivers/arm_arch_timer: Fix CNTPCT_LO and CNTVCT_LO value 2022-10-21 12:37:42 +02:00
comedi
connector
counter
cpufreq cpufreq: amd-pstate: Fix initial highest_perf value 2022-10-21 12:37:59 +02:00
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma dmaengine: qcom-adm: fix wrong calling convention for prep_slave_sg 2022-10-21 12:37:41 +02:00
dma-buf
edac
eisa
extcon
firewire
firmware efi: libstub: drop pointless get_memory_map() call 2022-10-21 12:37:54 +02:00
fpga
fsi
gnss
gpio gpio: rockchip: request GPIO mux to pinctrl when setting direction 2022-10-21 12:37:45 +02:00
gpu virtio-gpu: fix shift wrapping bug in virtio_gpu_fence_event_create() 2022-10-21 12:38:29 +02:00
greybus
hid HID: multitouch: Add memory barriers 2022-10-21 12:37:37 +02:00
hsi
hte
hv
hwmon hwmon: (pmbus/mp2888) Fix sensors readouts for MPS Multi-phase mp2888 controller 2022-10-21 12:38:20 +02:00
hwspinlock
hwtracing
i2c i2c: mlxbf: support lock mechanism 2022-10-21 12:38:17 +02:00
i3c
idle
iio
infiniband
input
interconnect
iommu
ipack
irqchip
isdn mISDN: fix use-after-free bugs in l1oip timer handlers 2022-10-21 12:38:19 +02:00
leds leds: lm3601x: Don't use mutex after it was destroyed 2022-10-21 12:38:02 +02:00
macintosh
mailbox
mcb
md dm: verity-loadpin: Only trust verity targets with enforcement 2022-10-21 12:37:40 +02:00
media
memory memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings() 2022-10-21 12:38:31 +02:00
memstick
message
mfd
misc
mmc mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe() 2022-10-21 12:38:29 +02:00
most
mtd
mux
net net: mvpp2: fix mvpp2 debugfs leak 2022-10-21 12:38:21 +02:00
nfc
ntb
nubus
nvdimm
nvme nvme-multipath: fix possible hang in live ns resize with ANA access 2022-10-21 12:37:40 +02:00
nvmem nvmem: core: Fix memleak in nvmem_register() 2022-10-21 12:37:40 +02:00
of
opp
parisc
parport
pci PCI: Sanitise firmware BAR assignments behind a PCI-PCI bridge 2022-10-21 12:37:43 +02:00
pcmcia
peci
perf RISC-V: Re-enable counter access from userspace 2022-10-21 12:37:39 +02:00
phy
pinctrl pinctrl: rockchip: add pinmux_ops.gpio_set_direction callback 2022-10-21 12:37:46 +02:00
platform platform/chrome: cros_ec_typec: Correct alt mode index 2022-10-21 12:38:25 +02:00
pnp
power
powercap powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain 2022-10-21 12:37:44 +02:00
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: qcom_rpm: Fix circular deferral regression 2022-10-21 12:37:38 +02:00
remoteproc
reset
rpmsg rpmsg: char: Avoid double destroy of default endpoint 2022-10-21 12:37:53 +02:00
rtc
s390
sbus
scsi scsi: qedf: Populate sysfs attributes for vport 2022-10-21 12:37:45 +02:00
sh
siox
slimbus slimbus: qcom-ngd: cleanup in probe error path 2022-10-21 12:37:45 +02:00
soc
soundwire
spi spi: Ensure that sg_table won't be used after being freed 2022-10-21 12:38:19 +02:00
spmi
ssb
staging staging: greybus: audio_helper: remove unused and wrong debugfs usage 2022-10-21 12:37:55 +02:00
target
tc
tee
thermal thermal: cpufreq_cooling: Check the policy first in cpufreq_cooling_register() 2022-10-21 12:37:59 +02:00
thunderbolt thunderbolt: Explicitly enable lane adapter hotplug events at startup 2022-10-21 12:37:53 +02:00
tty serial: 8250: Request full 16550A feature probing for OxSemi PCIe devices 2022-10-21 12:37:44 +02:00
ufs
uio
usb
vdpa
vfio
vhost vhost/vsock: Use kvmalloc/kvfree for larger packets. 2022-10-21 12:38:19 +02:00
video video/aperture: Disable and unregister sysfb devices via aperture helpers 2022-10-21 12:38:22 +02:00
virt
virtio
vlynq
w1
watchdog
xen xen/gntdev: Accommodate VMA splitting 2022-10-21 12:37:43 +02:00
zorro
Kconfig
Makefile