[linux-next:master 1350/3682] drivers/thermal/thermal_of.c:1297:1-23: WARNING: Function "for_each_child_of_node" should have of_node_put() before break around line 1300. (fwd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I don't seem to have receivde any patch or code extract for this, but
perhaps it is worth checking in the current version of the code.

julia

---------- Forwarded message ----------
Date: Sat, 27 Aug 2022 06:44:43 +0800
From: kernel test robot <lkp@xxxxxxxxx>
To: kbuild@xxxxxxxxxxxx
Cc: lkp@xxxxxxxxx, Julia Lawall <julia.lawall@xxxxxxx>
Subject: [linux-next:master 1350/3682] drivers/thermal/thermal_of.c:1297:1-23:
    WARNING: Function "for_each_child_of_node" should have of_node_put() before
    break around line 1300.

BCC: lkp@xxxxxxxxx
CC: kbuild-all@xxxxxxxxxxxx
CC: Linux Memory Management List <linux-mm@xxxxxxxxx>
TO: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   8d0c42c9e80791e8baba2932d2cbd2dcead50d47
commit: 3fd6d6e2b4e80fe45bfd1c8f01dff7d30a0f9b53 [1350/3682] thermal/of: Rework the thermal device tree initialization
:::::: branch date: 15 hours ago
:::::: commit date: 9 days ago
config: mips-randconfig-c003-20220827 (https://download.01.org/0day-ci/archive/20220827/202208270622.0O59UTN1-lkp@xxxxxxxxx/config)
compiler: mips-linux-gcc (GCC) 12.1.0

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Reported-by: Julia Lawall <julia.lawall@xxxxxxx>

cocci warnings: (new ones prefixed by >>)
>> drivers/thermal/thermal_of.c:1297:1-23: WARNING: Function "for_each_child_of_node" should have of_node_put() before break around line 1300.
   drivers/thermal/thermal_of.c:668:1-23: WARNING: Function "for_each_child_of_node" should have of_node_put() before goto around lines 671.

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux