diff options
author | Wan Jiabing <wanjiabing@vivo.com> | 2021-10-15 06:40:08 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-15 18:10:59 +0300 |
commit | dbf641a10f6138fb84866d33ac05f9e1eae95e04 (patch) | |
tree | 962288cfca9fe6535f25e9633625df63e7f9365d /fs/ksmbd/ksmbd_netlink.h | |
parent | 531558b56be514f7e98b9ea2997b6197ee1af360 (diff) | |
download | linux-dbf641a10f6138fb84866d33ac05f9e1eae95e04.tar.xz |
spi: orion: Add of_node_put() before goto
Fix following coccicheck warning:
./drivers/spi/spi-orion.c:738:1-33: WARNING: Function
for_each_available_child_of_node should have of_node_put() before goto
Early exits from for_each_available_child_of_node should decrement the
node reference counter.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Link: https://lore.kernel.org/r/20211015034008.6357-1-wanjiabing@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs/ksmbd/ksmbd_netlink.h')
0 files changed, 0 insertions, 0 deletions