Messages in this thread | | | Date | Sat, 18 Jun 2022 10:43:12 +0800 (CST) | From | "Liang He" <> | Subject | Re:Re: [PATCH v2] arm: mach-rockchip: (pm) Add missing of_node_put() |
| |
At 2022-06-18 01:10:28, "Heiko Stuebner" <heiko@sntech.de> wrote: >On Thu, 16 Jun 2022 10:17:13 +0800, Liang He wrote: >> In rockchip_suspend_init(), of_find_matching_node_and_match() will >> return a node pointer with refcount incremented. We should use >> of_node_put() in fail path or when it is not used anymore. > >Applied, thanks! > >[1/1] arm: mach-rockchip: (pm) Add missing of_node_put() > commit f4470dbfb5ff92804650bc71d115c3f150d430f6 > >There was an unneeded tab in the blank line above out_put >and a completely unneeded blank line added at the end of >the function. I dropped both.
Thanks very much for your effort.
I am learning the coding style for kernel code.
> >Best regards, >-- >Heiko Stuebner <heiko@sntech.de>
| |