diff options
author | Shravya Kumbham <shravya.kumbham@xilinx.com> | 2022-05-02 12:57:50 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-12 12:20:25 +0200 |
commit | 18b44e366b92556ec0a3dbe5ef6bff105a49808e (patch) | |
tree | 9ebe75bed6fca473eb424f0320e89a3526f95d67 /fs/btrfs/tree-log.c | |
parent | 2b738fe6ff455ddbf4ed30878638c185711c7e5f (diff) |
net: emaclite: Add error handling for of_address_to_resource()
commit 7a6bc33ab54923d325d9a1747ec9652c4361ebd1 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions