Karicheri, Muralidharan 915c585787 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>
2015-09-23 14:37:37 -07:00
..
2015-09-17 22:26:55 -07:00
2015-09-09 08:33:31 -07:00
2015-08-13 21:12:17 -07:00
2015-08-25 14:11:20 -07:00
2015-07-08 16:00:09 -07:00