aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_sched.c
diff options
context:
space:
mode:
authorSurabhi Boob <[email protected]>2020-07-30 00:19:18 +0000
committerTony Nguyen <[email protected]>2020-08-01 15:44:04 +0000
commitbcc46cb8a077c6189b44f1555b8659837f748eb2 (patch)
treeda1dbfb406e1a9b5a8cd36807caf71c4b7df7bb4 /drivers/net/ethernet/intel/ice/ice_sched.c
parentice: port fix for chk_linearlize (diff)
downloadkernel-bcc46cb8a077c6189b44f1555b8659837f748eb2.tar.gz
kernel-bcc46cb8a077c6189b44f1555b8659837f748eb2.zip
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 <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_sched.c')
0 files changed, 0 insertions, 0 deletions