]> www.infradead.org Git - users/jedix/linux-maple.git/commit
igb: Make certain one vector is always assigned in igb_request_irq
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 26 Aug 2011 07:46:45 +0000 (07:46 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 12:58:12 +0000 (20:58 +0800)
commit5607ab172a8da502f0e10119ec1485840a8b6c92
treed1ba3043884b889ac48b75c8c268487945404f75
parentc169cce31b42a4ede42a7aae8950a22116f8fbe6
igb: Make certain one vector is always assigned in igb_request_irq

This change makes certain that one interrupt is always initialized in
igb_request_irq.  In addition we drop the use of adapter->pdev and
instead just call pdev since we made a local copy of the pointer earlier in
the function.

(cherry picked from commit c74d588e2addd9a13cca49a4d9172e0e2948448f)
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/igb/igb_main.c