diff options
| author | Wan Jiabing <[email protected]> | 2021-10-29 02:49:18 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2021-10-29 04:27:38 +0000 |
| commit | 10f0d2ab9aa672707559d46601fd35544759ff70 (patch) | |
| tree | d5aad4fbb2069c2636c4aa8491a24b81fdc2221b /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | hwmon: (tmp401) Drop support for TMP461 (diff) | |
| download | kernel-10f0d2ab9aa672707559d46601fd35544759ff70.tar.gz kernel-10f0d2ab9aa672707559d46601fd35544759ff70.zip | |
hwmon: (nct7802) Add of_node_put() before return
Fix following coccicheck warning:
./drivers/hwmon/nct7802.c:1152:2-24: 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: Guenter Roeck <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
