[PATCH 2/2] eeh: fixing pci_dev dependency

Linas Vepstas linasvepstas at gmail.com
Sat Jan 30 02:42:04 EST 2010


On 28 January 2010 18:04, Benjamin Herrenschmidt
<benh at kernel.crashing.org> wrote:
> On Wed, 2010-01-27 at 12:43 -0600, leitao at linux.vnet.ibm.com wrote:
>> Currently pci_dev can be null when EEH is in action. This patch
>> just assure that we pci_dev is not NULL before calling pci_dev_put.
>
> Like all variants of *_put(), it already checks for a NULL argument
> afaik. So that patch should be unnecessary.

Ah, OK, I paniced when I saw that and assumed the worst

--linas


More information about the Linuxppc-dev mailing list