2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/drivers/staging/octeon
Sandhya Bankar 24586a35d3 Staging: octeon: Add missing of_node_put after calling of_parse_phandle.
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>
2016-09-20 13:51:24 +02:00
..
ethernet-defines.h staging: octeon: Add space around '+' 2015-11-15 20:02:47 -08:00
ethernet-mdio.c Staging: octeon: Add missing of_node_put after calling of_parse_phandle. 2016-09-20 13:51:24 +02:00
ethernet-mdio.h staging: octeon: Remove unnecessary externs 2015-08-14 18:51:56 -07:00
ethernet-mem.c staging: octeon: Remove comparison to NULL 2016-03-11 22:09:09 -08:00
ethernet-mem.h staging: octeon-ethernet: update boilerplate comments 2015-04-30 17:06:09 +02:00
ethernet-rgmii.c staging: octeon: stop using cvmx_helper_link_autoconf() 2016-09-12 13:21:48 +02:00
ethernet-rx.c Staging: octeon: ethernet-rx: fixed three redundant blank line style issues 2016-09-18 09:13:35 +02:00
ethernet-rx.h staging: octeon: Fix alignment with open parenthesis 2016-03-28 07:30:36 -07:00
ethernet-sgmii.c staging: octeon-ethernet: drop poll_now parameter from cvm_oct_common_open 2015-10-17 20:56:10 -07:00
ethernet-spi.c staging: octeon: Remove blank lines after open brace 2016-03-11 22:09:09 -08:00
ethernet-tx.c staging: octeon: Fix alignment with open parenthesis 2016-03-28 07:30:36 -07:00
ethernet-tx.h staging: octeon-ethernet: update boilerplate comments 2015-04-30 17:06:09 +02:00
ethernet-util.h staging: octeon: check for pow0 before calling interface helper 2016-08-21 18:02:32 +02:00
ethernet.c staging: octeon: remove multiple blank lines 2016-09-16 10:22:35 +02:00
Kconfig
Makefile staging: octeon-ethernet: move cvm_oct_xaui_open() 2015-10-17 20:56:10 -07:00
octeon-ethernet.h staging: octeon: support enabling multiple rx groups 2016-09-02 14:46:53 +02:00