]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: propagate interrupt allocation failure
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 27 Aug 2015 15:42:31 +0000 (11:42 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 7 Oct 2015 21:43:45 +0000 (14:43 -0700)
commitb56a68b25b85c81a0f0b5c3b0f8fb450ed349b9f
treeeac13db25fa59215a0d10adca694c3e35c39f4ac
parentb9edc360b1a82e1beed713b042aaf1846b305a53
i40evf: propagate interrupt allocation failure

Lower level functions are properly reporting errors, and higher-level
functions are correctly responding to errors, but the errors aren't
actually getting through. Typically, the middle-manager function seems
to want to shield its boss from any bad news.

This change fixes a panic if the driver is unable to enable MSI-X or is
unable to acquire enough vectors.

Change-ID: Ifd5787ce92519a5d97e4b465902db930d97b71a1
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c