mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 09:42:13 +07:00
115bbc30c6
The call to of_get_next_child returns a node pointer with refcount incremented thus it must be explicitly decremented after the last usage. Detected by coccinelle with the following warnings: ./arch/arm/mach-shmobile/pm-rcar-gen2.c:77:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 66, but without a corresponding object release within this function. ./arch/arm/mach-shmobile/pm-rcar-gen2.c:85:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 66, but without a corresponding object release within this function. ./arch/arm/mach-shmobile/pm-rcar-gen2.c:90:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 66, but without a corresponding object release within this function. Signed-off-by: Wen Yang <wen.yang99@zte.com.cn> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
||
---|---|---|
.. | ||
common.h | ||
emev2.h | ||
headsmp-apmu.S | ||
headsmp-scu.S | ||
headsmp.S | ||
Kconfig | ||
Makefile | ||
platsmp-apmu.c | ||
platsmp-scu.c | ||
platsmp.c | ||
pm-rcar-gen2.c | ||
r8a7779.h | ||
rcar-gen2.h | ||
regulator-quirk-rcar-gen2.c | ||
setup-emev2.c | ||
setup-r7s9210.c | ||
setup-r7s72100.c | ||
setup-r8a73a4.c | ||
setup-r8a7740.c | ||
setup-r8a7778.c | ||
setup-r8a7779.c | ||
setup-rcar-gen2.c | ||
setup-sh73a0.c | ||
sh73a0.h | ||
smp-emev2.c | ||
smp-r8a7779.c | ||
smp-sh73a0.c | ||
suspend.c | ||
timer.c |