ice: Pass the return value of ice_init_def_sw_recp()
authorJaroslaw Ilgiewicz <jaroslaw.ilgiewicz@intel.com>
Fri, 26 Oct 2018 18:44:40 +0000 (11:44 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 20 Nov 2018 19:39:03 +0000 (11:39 -0800)
commit5fb597d7c83310716be185f36a8b153e2457ea7f
tree765f7ff5cfc0e671edc2edc5ffd1c5a256898346
parent7afdbc903a7c22510bbf5a82866e1a607e2f0997
ice: Pass the return value of ice_init_def_sw_recp()

Added check of return value for ice_init_def_sw_recp().
Now we know if memory was correctly allocated.

Signed-off-by: Jaroslaw Ilgiewicz <jaroslaw.ilgiewicz@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c