Home
last modified time | relevance | path

Searched hist:"67 c3e59443f5fc77be39e2ce0db75fbfa78c7965" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/powerpc/platforms/pseries/
H A Drng.cdiff 67c3e59443f5fc77be39e2ce0db75fbfa78c7965 Mon Jul 02 11:08:16 CEST 2018 Nicholas Mc Guire <hofrat@osadl.org> powerpc/pseries: Fix missing of_node_put() in rng_init()

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

Fixes: a489043f4626 ("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