diff options
author | Shravya Kumbham <shravya.kumbham@xilinx.com> | 2022-05-02 12:57:50 +0530 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-05-03 11:07:32 +0200 |
commit | 7a6bc33ab54923d325d9a1747ec9652c4361ebd1 (patch) | |
tree | de2a26727f732c9fe9bafab630f7b054a659cdf1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b800528b97d0adc3a5ba42d78a8b0d3f07a31f44 (diff) |
net: emaclite: Add error handling for of_address_to_resource()
check the return value of of_address_to_resource() and also add
missing of_node_put() for np and npp nodes.
Fixes: e0a3bc65448c ("net: emaclite: Support multiple phys connected to one MDIO bus")
Addresses-Coverity: Event check_return value.
Signed-off-by: Shravya Kumbham <shravya.kumbham@xilinx.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions