mirror_ubuntu-kernels/drivers/net/ethernet/freescale/dpaa2
Miaoqian Lin 2b04bd4f03 dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe
This node pointer is returned by of_find_compatible_node() with
refcount incremented. Calling of_node_put() to aovid the refcount leak.

Fixes: d346c9e86d ("dpaa2-ptp: reuse ptp_qoriq driver")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220404125336.13427-1-linmq006@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2022-04-05 12:38:11 +02:00
..
dpaa2-eth-dcb.c
dpaa2-eth-debugfs.c dpaa2-eth: name the debugfs directory after the DPNI object 2021-05-21 14:05:04 -07:00
dpaa2-eth-debugfs.h
dpaa2-eth-devlink.c dpaa2-eth: Register devlink instance at the end of probe 2021-09-27 16:31:59 +01:00
dpaa2-eth-trace.h
dpaa2-eth.c dpaa2-mac: configure the SerDes phy on a protocol change 2022-03-14 10:41:51 +00:00
dpaa2-eth.h dpaa2-eth: Update SINGLE_STEP register access 2022-02-19 16:27:17 +00:00
dpaa2-ethtool.c dpaa2-eth: add support for software TSO 2022-02-09 13:15:35 +00:00
dpaa2-mac.c dpaa2-mac: configure the SerDes phy on a protocol change 2022-03-14 10:41:51 +00:00
dpaa2-mac.h dpaa2-mac: configure the SerDes phy on a protocol change 2022-03-14 10:41:51 +00:00
dpaa2-ptp.c dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe 2022-04-05 12:38:11 +02:00
dpaa2-ptp.h dpaa2-eth: define a global ptp_qoriq structure pointer 2020-09-18 14:32:48 -07:00
dpaa2-switch-ethtool.c dpaa2-switch: export MAC statistics in ethtool 2021-08-04 09:53:34 +01:00
dpaa2-switch-flower.c dpaa2-switch: fix default return of dpaa2_switch_flower_parse_mirror_key 2022-02-15 14:31:43 +00:00
dpaa2-switch.c dpaa2-mac: configure the SerDes phy on a protocol change 2022-03-14 10:41:51 +00:00
dpaa2-switch.h dpaa2-switch: integrate the MAC endpoint support 2021-08-04 09:53:34 +01:00
dpkg.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpmac-cmd.h dpaa2-mac: add the MC API for reconfiguring the protocol 2022-03-14 10:41:50 +00:00
dpmac.c dpaa2-mac: add the MC API for reconfiguring the protocol 2022-03-14 10:41:50 +00:00
dpmac.h dpaa2-mac: add the MC API for reconfiguring the protocol 2022-03-14 10:41:50 +00:00
dpni-cmd.h dpaa2-eth: Update dpni_get_single_step_cfg command 2022-02-19 16:27:16 +00:00
dpni.c dpaa2-eth: Update dpni_get_single_step_cfg command 2022-02-19 16:27:16 +00:00
dpni.h dpaa2-eth: Update dpni_get_single_step_cfg command 2022-02-19 16:27:16 +00:00
dprtc-cmd.h
dprtc.c
dprtc.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpsw-cmd.h dpaa2-switch: add API for setting up mirroring 2021-07-29 21:34:45 +01:00
dpsw.c dpaa2-switch: add API for setting up mirroring 2021-07-29 21:34:45 +01:00
dpsw.h dpaa2-switch: integrate the MAC endpoint support 2021-08-04 09:53:34 +01:00
Kconfig staging: dpaa2-switch: move the driver out of staging 2021-03-10 13:30:36 -08:00
Makefile dpaa2-switch: integrate the MAC endpoint support 2021-08-04 09:53:34 +01:00