diff options
| author | Miaoqian Lin <[email protected]> | 2022-04-04 12:53:36 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2022-04-05 10:38:11 +0000 |
| commit | 2b04bd4f03bba021959ca339314f6739710f0954 (patch) | |
| tree | d2e4892ce17355c8cba1c1443f544b414c9cb98f /drivers/net/ethernet/intel/ice/ice_lib.c | |
| parent | sctp: count singleton chunks in assoc user stats (diff) | |
| download | kernel-2b04bd4f03bba021959ca339314f6739710f0954.tar.gz kernel-2b04bd4f03bba021959ca339314f6739710f0954.zip | |
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: d346c9e86d86 ("dpaa2-ptp: reuse ptp_qoriq driver")
Signed-off-by: Miaoqian Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions
