Re: [PATCH] powerpc/kexec_file: Add of_node_put() before goto

2021-11-02 Thread Michael Ellerman
On Sun, 17 Oct 2021 21:54:16 -0400, Wan Jiabing wrote: > Fix following coccicheck warning: > ./arch/powerpc/kexec/file_load_64.c:698:1-22: WARNING: Function > for_each_node_by_type should have of_node_put() before goto > > Early exits from for_each_node_by_type should decrement the > node

Re: [PATCH] powerpc/kexec_file: Add of_node_put() before goto

2021-10-18 Thread Hari Bathini
On 18/10/21 7:24 am, Wan Jiabing wrote: Fix following coccicheck warning: ./arch/powerpc/kexec/file_load_64.c:698:1-22: WARNING: Function for_each_node_by_type should have of_node_put() before goto Early exits from for_each_node_by_type should decrement the node reference counter.

[PATCH] powerpc/kexec_file: Add of_node_put() before goto

2021-10-17 Thread Wan Jiabing
Fix following coccicheck warning: ./arch/powerpc/kexec/file_load_64.c:698:1-22: WARNING: Function for_each_node_by_type should have of_node_put() before goto Early exits from for_each_node_by_type should decrement the node reference counter. Signed-off-by: Wan Jiabing ---