linux-stable/arch
Nicholas Mc Guire 912991aea8 powerpc/pseries: Fix missing of_node_put() in rng_init()
[ Upstream commit 67c3e59443 ]

The call to of_find_compatible_node() returns a node pointer with
refcount incremented thus it must be explicitly decremented here
before returning.

Fixes: a489043f46 ("powerpc/pseries: Implement arch_get_random_long() based on H_RANDOM")
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1530522496-14816-1-git-send-email-hofrat@osadl.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:07:08 +01:00
..
alpha alpha: fix annotation of io{read,write}{16,32}be() 2020-08-26 10:29:57 +02:00
arc ARC: [plat-hsdk]: Switch ethernet phy-mode to rgmii-id 2020-09-23 10:46:27 +02:00
arm ARM: dts: vfxxx: Add syscon compatible with OCOTP 2020-09-23 10:46:31 +02:00
arm64 arm64/cpufeature: Drop TraceFilt feature exposure from ID_DFR0 register 2020-10-01 13:12:44 +02:00
blackfin
c6x
cris
frv
h8300
hexagon hexagon: work around compiler crash 2020-01-17 19:45:55 +01:00
ia64
m32r
m68k m68k: q40: Fix info-leak in rtc_ioctl 2020-10-01 13:12:26 +02:00
metag
microblaze microblaze: Prevent the overflow of the start 2020-02-28 16:36:08 +01:00
mips MIPS: Add the missing 'CPU_1074K' into __get_cpu_type() 2020-10-01 13:12:51 +02:00
mn10300
nios2 nios2: ksyms: Add missing symbol exports 2020-01-27 14:46:24 +01:00
openrisc openrisc: Fix issue with argument clobbering for clone/fork 2020-06-25 15:41:56 +02:00
parisc parisc: Implement __smp_store_release and __smp_load_acquire barriers 2020-08-21 09:48:16 +02:00
powerpc powerpc/pseries: Fix missing of_node_put() in rng_init() 2020-10-29 09:07:08 +01:00
s390 s390/init: add missing __init annotations 2020-10-01 13:12:48 +02:00
score
sh sh: landisk: Add missing initialization of sh_io_port_base 2020-08-21 09:48:23 +02:00
sparc fix a braino in "sparc32: fix register window handling in genregs32_[gs]et()" 2020-06-30 15:37:57 -04:00
tile
um um: Make GCOV depend on !KCOV 2019-12-05 15:37:49 +01:00
unicore32
x86 x86/fpu: Allow multiple bits in clearcpuid= parameter 2020-10-29 09:07:00 +01:00
xtensa block: Move SECTOR_SIZE and SECTOR_SHIFT definitions into <linux/blkdev.h> 2020-09-09 19:03:12 +02:00
.gitignore
Kconfig