Re: [PATCH] pci_find_device and pci_find_slot mark as deprecated

From: Jiri Slaby
Date: Tue Aug 09 2005 - 04:58:42 EST


On 8/9/05, Greg KH <greg@xxxxxxxxx> wrote:
> On Tue, Aug 09, 2005 at 01:54:01AM +0200, Jiri Slaby wrote:
> > This marks these functions as deprecated not to use in latest drivers (it
> > doesn't use reference counts and the device returned by it can disappear in
> > any time).
>
> Did you forget to send this to the PCI maintainer for some reason?
No, my badness, sorry.

> Anyway, no, I don't want these functions marked this way, it's only
> going to cause build noise. I'd much rather you, or others, send me
> patches that remove the usage of these functions so I can just delete
> them entirely.
When the patch was here
(http://www.fi.muni.cz/~xslaby/lnx/lnx-pci_find-2.6.13-r3g4_3.patch --
it'll be certainly sliced into many pieces; of course I didn't cc you
:( ), they told me, that the better way is to let it be, because it
signify the driver as old api based, if there are some warnings, so I
want people to stop using the old functions. So you want me to
continue producing the patches, that removes it?

regards,
jiri
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/