From: Markus Elfring Date: Thu, 04 Jun 2020 18:48:16 +0000 Subject: Re: [PATCH] ARM: socfpga: add missing put_device() call in socfpga_setup_ocram_self_refresh() Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Yu Kuai , linux-arm-kernel@lists.infradead.org Cc: Alan Tull , Dinh Nguyen , Kevin Hilman , Arnd Bergmann , Geert Uytterhoeven , Russell King , kernel-janitors@vger.kernel.org, LKML > 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/c45a8e00-3fc9-adba-1a46-5f2c4149953e@web.de/ 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