diff options
| author | Wan Jiabing <[email protected]> | 2021-10-15 04:26:58 -0400 |
|---|---|---|
| committer | Rob Herring <[email protected]> | 2021-10-20 13:37:25 -0500 |
| commit | f925a97b32f41944c7e03215149be2886d6603b9 (patch) | |
| tree | 9658586d3afeba122799ed004261cb775b137a43 /lib/mpi/mpi-cmp.c | |
| parent | a3c85b2ee098c4a293148fab4eb96299e92b9524 (diff) | |
of/unittest: Add of_node_put() before return
Fix following coccicheck warning:
./drivers/of/unittest.c:3091:1-23: WARNING: Function
for_each_child_of_node should have of_node_put() before return
Early exits from for_each_child_of_node should decrement the
node reference counter.
Signed-off-by: Wan Jiabing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions