]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: fixup legacy interrupt handling
authorShannon Nelson <shannon.nelson@intel.com>
Sat, 28 Sep 2013 07:13:28 +0000 (07:13 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Oct 2013 12:42:47 +0000 (05:42 -0700)
commitf30cfa5c80626593c871f60cf9996b64c9a9cccd
tree4842933df1d7fc938710ed22369b01eb3c1e3380
parent630d2bfb9471614c2bf599147fe4eb45e6fe883b
i40e: fixup legacy interrupt handling

There were a number of little bugs in the error handling of irq setup, most of
which ended up panicing the kernel, and are addressed by this patch, along with
a couple formatting issues.

Legacy interrupts (including MSI) are used only in the case of failure to
allocate MSI-X interrupts.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c