Skip to contentSkip to conversation

drivers/net/ethernet/broadcom/asp2/bcmasp.c:562:1-33: WARNING: Function "for_each_available_child_of_node" should have of_node_put() before goto around lines 567. (fwd)

PATCH New Julia Lawall 1 participant 1 message Jul 30, 2023 Memory management

lore
Share & tools
lore
#0 lore raw

PATCH 2135/5284 drivers/net/ethernet/broadcom/asp2/bcmasp.c:562:1-33: WARNING: Function "for_each_available_child_of_node" should have of_node_put() before goto around lines 567. (fwd)

---------- Forwarded message ----------
Date: Sun, 30 Jul 2023 06:23:16 +0800
From: kernel test robot <[email protected]>
To: [email protected]
Cc: [email protected], Julia Lawall <[email protected]>
Subject: [linux-next:master 2135/5284]
drivers/net/ethernet/broadcom/asp2/bcmasp.c:562:1-33: WARNING: Function "for_each_available_child_of_node" should have of_node_put() before goto around lines 567.

BCC: [email protected]
CC: [email protected]
CC: Linux Memory Management List <[email protected]>
TO: Justin Chen <[email protected]>
CC: Simon Horman <[email protected]>
CC: Florian Fainelli <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   d7b3af5a77e8d8da28f435f313e069aea5bcf172
commit: 490cb412007de593e07c1d3e2b1ec4233886707c [2135/5284] net: bcmasp: Add support for ASP2.0 Ethernet controller

:::::: branch date: 2 days ago
:::::: commit date: 13 days ago
config: s390-randconfig-r051-20230730 (https://download.01.org/0day-ci/archive/20230730/[email protected]/config)
compiler: s390-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230730/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags

| Reported-by: kernel test robot <[email protected]>
| Reported-by: Julia Lawall <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/

cocci warnings: (new ones prefixed by >>)

Quoted 1 line
Quoted 1 line

drivers/net/ethernet/broadcom/asp2/bcmasp.c:562:1-33: WARNING: Function "for_each_available_child_of_node" should have of_node_put() before goto around lines 567.

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki