commit | bcc46cb8a077c6189b44f1555b8659837f748eb2 | [log] [tgz] |
---|---|---|
author | Surabhi Boob <surabhi.boob@intel.com> | Wed Jul 29 17:19:18 2020 -0700 |
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | Sat Aug 01 08:44:04 2020 -0700 |
tree | da1dbfb406e1a9b5a8cd36807caf71c4b7df7bb4 | |
parent | 0a37abfa017a90cf0708f69022368cca6869416f [diff] |
ice: Graceful error handling in HW table calloc failure In the ice_init_hw_tbls, if the devm_kcalloc for es->written fails, catch that error and bail out gracefully, instead of continuing with a NULL pointer. Fixes: 32d63fa1e9f3 ("ice: Initialize DDP package structures") Signed-off-by: Surabhi Boob <surabhi.boob@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>