RE: [PATCH] PCI Error Recovery: e1000 network device driver

2006-04-28 Thread Zhang, Yanmin
@vger.kernel.org; >>[EMAIL PROTECTED]; [EMAIL PROTECTED]; Linux NICS >>Subject: Re: [PATCH] PCI Error Recovery: e1000 network device driver >> >>On Fri, Mar 24, 2006 at 06:22:06PM -0800, Greg KH wrote: >>> ... a bit >>> different from the traditional kernel cod

Re: [PATCH] PCI Error Recovery: e1000 network device driver

2006-03-24 Thread Linas Vepstas
On Fri, Mar 24, 2006 at 06:22:06PM -0800, Greg KH wrote: > ... a bit > different from the traditional kernel coding style. Sorry, this is due to inattention on my part; I get cross-eyed after staring at the same code for too long. The patch below should fix things. --linas [PATCH] PCI Error

Re: [PATCH] PCI Error Recovery: e1000 network device driver

2006-03-24 Thread Greg KH
On Fri, Mar 24, 2006 at 04:00:02PM -0600, Linas Vepstas wrote: > + /* Perform card reset only on one instance of the card */ > + if(0 != PCI_FUNC (pdev->devfn)) > + return PCI_ERS_RESULT_RECOVERED; You seem to have forgotton to put a ' ' after the 'if' in a number of different