Skip to contentSkip to conversation

ARM: socfpga: add missing put_device() call in socfpga_setup_ocram_self_refresh()

PATCH Markus Elfring 1 participant 1 message Jun 4, 2020 Kernel janitors

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

if of_find_device_by_node() succeed, socfpga_setup_ocram_self_refresh() doesn't have a corresponding put_device(). Thus add a jump target to fix the exception handling for this function implementation.

Do you find a previous update suggestion interesting?

ARM: socfpga: PM: Add missing put_device() call in socfpga_setup_ocram_self_refresh()
https://lore.kernel.org/linux-arm-kernel/[email protected]/
https://lore.kernel.org/patchwork/patch/1151166/
https://lkml.org/lkml/2019/11/9/156

Do you propose to adjust the source code a bit more?

Regards,
Markus