]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:32:21 +0000 (08:32 -0800)
commitb05c43d11bc8193b7604d38b5acd19d8a16c4c1e
tree540960f602971e647928daee1602c56f0af266a8
parentc07f936de8597c637ea64963b847ac7363468bb6
i40evf: propagate interrupt allocation failure

Orabug: 22342532

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>
(cherry picked from commit 313ed2d52052ad8dab9a6182cde55a832873cbea)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c