[PATCH v2] [02/10] pasemi_mac: Stop using the pci config space accessors for register read/writes

Stephen Rothwell sfr at canb.auug.org.au
Sat Aug 25 11:19:47 EST 2007


On Fri, 24 Aug 2007 13:11:04 -0500 Olof Johansson <olof at lixom.net> wrote:
>
> On Fri, Aug 24, 2007 at 02:05:31PM +1000, Stephen Rothwell wrote:
> > 
> > It is not documented as such (as far as I can see), but pci_dev_put is
> > safe to call with NULL. And there are other places in the kernel that
> > explicitly use that fact.
> 
> Some places check, others do not. I'll leave it be for now but might take
> care of it during some future cleanup. Thanks for point it out though.

No worries.

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070825/6bb6c4a2/attachment.pgp>


More information about the Linuxppc-dev mailing list