Messages in this thread | | | From | Krzysztof Kozlowski <> | Subject | Re: [PATCH v2 1/2] memory: of: Fix refcount leak bug in of_get_ddr_timings() | Date | Tue, 19 Jul 2022 11:16:11 +0200 |
| |
On Tue, 19 Jul 2022 16:56:39 +0800, Liang He wrote: > We should add the of_node_put() when breaking out of > for_each_child_of_node() as it will automatically increase > and decrease the refcount. > >
Applied, thanks!
[1/2] memory: of: Fix refcount leak bug in of_get_ddr_timings() https://git.kernel.org/krzk/linux-mem-ctrl/c/b54af20531018c2bb7181ba2f511327b3c9f1cef [2/2] memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings() https://git.kernel.org/krzk/linux-mem-ctrl/c/2f1b3550a152baa8287ee95586f0385410a5296b
Best regards, -- Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
| |