diff options
author | Wan Jiabing <[email protected]> | 2021-10-17 21:54:16 -0400 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-10-22 15:22:02 +1100 |
commit | 7453f501d443c7febf48809ee1c530b64d625c59 (patch) | |
tree | f52bce1003819799e522da232e0400b6624d01c6 /lib/test_fortify/write_overflow-memset.c | |
parent | 915b368f6968122fcab31fd6441ed4ba7cc7574c (diff) |
powerpc/kexec_file: Add of_node_put() before goto
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 <[email protected]>
Acked-by: Hari Bathini <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-memset.c')
0 files changed, 0 insertions, 0 deletions