diff options
author | Karicheri, Muralidharan <m-karicheri2@ti.com> | 2015-09-23 20:37:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-24 00:37:37 +0300 |
commit | 915c5857874fc211874de1363e88f902e581e6eb (patch) | |
tree | 24fde088492a71703e6ce56da55409d2afe45ef6 /drivers/xen | |
parent | e558b1fbf5f43da83f91a31e595a6d65e663b100 (diff) | |
download | linux-915c5857874fc211874de1363e88f902e581e6eb.tar.xz |
net: netcp: check for interface handle in netcp_module_probe()
Currently netcp_module_probe() doesn't check the return value of
of_parse_phandle() that points to the interface data for the
module and then pass the node ptr to the module which is incorrect.
Check for return value and free the intf_modpriv if there is error.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions