mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-22 06:58:36 +00:00
of_node_put needs to be called when the device node which is got
from of_parse_phandle is no longer used.
This patch is found by below coccinelle script:
@@
expression e,e1,e2;
@@
*e = of_parse_phandle(...)
... when != of_node_put(e)
when != true e == NULL
when != e2 = e
e = e1
Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
History
|
|
|---|---|---|
| .. | ||
| ethernet-defines.h | ||
| ethernet-mdio.c | ||
| ethernet-mdio.h | ||
| ethernet-mem.c | ||
| ethernet-mem.h | ||
| ethernet-rgmii.c | ||
| ethernet-rx.c | ||
| ethernet-rx.h | ||
| ethernet-sgmii.c | ||
| ethernet-spi.c | ||
| ethernet-tx.c | ||
| ethernet-tx.h | ||
| ethernet-util.h | ||
| ethernet.c | ||
| Kconfig | ||
| Makefile | ||
| octeon-ethernet.h | ||