On 28 January 2010 18:04, Benjamin Herrenschmidt <b...@kernel.crashing.org> wrote: > On Wed, 2010-01-27 at 12:43 -0600, lei...@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 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev