commit | c1147280d2a336ac6723a8dc8b74f809fd6db02c | [log] [tgz] |
---|---|---|
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | Tue Apr 07 19:45:39 2015 -0400 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Tue Apr 14 20:32:47 2015 -0700 |
tree | 56fd0a75dce6caae87f22c84329b5e7499562d6d | |
parent | 73b23402bb232ce655cf45aaca4f7feee317deb1 [diff] |
i40e: handle possible memory allocation failure The init_interrupt_scheme function had a possible failure path to allocate memory that was found by smatch. This adds the correct handling to the function to abort probe if the memory allocation fails. Change-ID: I2bf1d826a244209619da4c452d0d58b3eb5e26a3 Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Jim Young <james.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>