Skip to content
Commit bcc46cb8 authored by Surabhi Boob's avatar Surabhi Boob Committed by Tony Nguyen
Browse files

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: 32d63fa1

 ("ice: Initialize DDP package structures")
Signed-off-by: default avatarSurabhi Boob <surabhi.boob@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent 0a37abfa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment