diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2015-04-07 19:45:39 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-04-14 20:32:47 -0700 |
commit | c1147280d2a336ac6723a8dc8b74f809fd6db02c (patch) | |
tree | 56fd0a75dce6caae87f22c84329b5e7499562d6d /drivers/vhost/test.c | |
parent | 73b23402bb232ce655cf45aaca4f7feee317deb1 (diff) | |
download | linux-c1147280d2a336ac6723a8dc8b74f809fd6db02c.tar.bz2 |
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>
Diffstat (limited to 'drivers/vhost/test.c')
0 files changed, 0 insertions, 0 deletions