Revision ba69fd9101f20a6d05a96ab743341d4e7b1a2178 authored by Christophe JAILLET on 18 October 2021, 19:59:00 UTC, committed by Jakub Kicinski on 19 October 2021, 22:41:16 UTC
If we return before the end of the 'for_each_child_of_node()' iterator, the reference taken on 'port' must be released. Add the missing 'of_node_put()' calls. Fixes: 83c0afaec7b7 ("net: dsa: Add new binding implementation") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/15d5310d1d55ad51c1af80775865306d92432e03.1634587046.git.christophe.jaillet@wanadoo.fr Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 04ee275
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 716 bytes |
Makefile | -rw-r--r-- | 204 bytes |
cfg.c | -rw-r--r-- | 11.4 KB |
cfg.h | -rw-r--r-- | 202 bytes |
driver-ops.h | -rw-r--r-- | 5.8 KB |
ieee802154_i.h | -rw-r--r-- | 5.0 KB |
iface.c | -rw-r--r-- | 19.0 KB |
llsec.c | -rw-r--r-- | 24.9 KB |
llsec.h | -rw-r--r-- | 2.8 KB |
mac_cmd.c | -rw-r--r-- | 3.8 KB |
main.c | -rw-r--r-- | 5.6 KB |
mib.c | -rw-r--r-- | 5.1 KB |
rx.c | -rw-r--r-- | 7.1 KB |
trace.c | -rw-r--r-- | 189 bytes |
trace.h | -rw-r--r-- | 6.4 KB |
tx.c | -rw-r--r-- | 3.0 KB |
util.c | -rw-r--r-- | 2.3 KB |
Computing file changes ...