From: Mitch Williams Date: Tue, 1 Apr 2014 07:11:50 +0000 (+0000) Subject: i40evf: fix panic on PF driver fail X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~296^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=169f40760ec5e96b9c2e8718ae8f407f5c1e3fc6;p=pandora-kernel.git i40evf: fix panic on PF driver fail Fix a panic that would occur in the VF if the PF driver failed or was removed from the host kernel. In this case, the VF driver calls i40evf_close(), but this function does nothing because the driver is in the resetting state. Because of this, the driver doesn't free its irqs and causes a kernel panic when it tries to disable MSI-X. Change-ID: If95644a89e554b4d7be0dca1b6add26f63047129 Signed-off-by: Mitch Williams Signed-off-by: Catherine Sullivan Tested-by: Sibai Li Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed