linux_dsm_epyc7002/drivers/net/ethernet/ibm/ehea
Wen Yang be693df3cf net: ibm: fix possible object reference leak
The call to ehea_get_eth_dn returns a node pointer with refcount
incremented thus it must be explicitly decremented after the last
usage.

Detected by coccinelle with the following warnings:
./drivers/net/ethernet/ibm/ehea/ehea_main.c:3163:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 3154, but without a corresponding object release within this function.

Signed-off-by: Wen Yang <wen.yang99@zte.com.cn>
Cc: Douglas Miller <dougmill@linux.ibm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-03-23 21:21:24 -04:00
..
ehea_ethtool.c net: ibm: ehea: use new api ethtool_{get|set}_link_ksettings 2017-01-09 12:09:09 -05:00
ehea_hw.h
ehea_main.c net: ibm: fix possible object reference leak 2019-03-23 21:21:24 -04:00
ehea_phyp.c
ehea_phyp.h
ehea_qmr.c net: ibm: remove redundant local variables 'act_nr_of_entries' and 'act_pages' 2018-09-19 21:26:40 -07:00
ehea_qmr.h
ehea.h
Makefile net: ethernet: ibm: ehea: Remove duplicate object from Makefile 2014-08-14 14:38:54 -07:00