diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-09-24 05:17:25 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-10-29 04:29:25 -0700 |
commit | ed87ac09d89129fa4d1f0a10d640fb6dabb46fcd (patch) | |
tree | 0c912e1aeb63b9c291d636b93bfea607de1962b0 /drivers/net/netconsole.c | |
parent | 44bd741e10a5bc7d7dd14a79dd58f403819f43bd (diff) |
i40e: fix error return code in i40e_probe()
Fix to return -ENOMEM in the memory alloc error handling
case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/netconsole.c')
0 files changed, 0 insertions, 0 deletions