Re: AGP bogosities

Linus Torvalds
2005-03-11T02:41:14Z

On Fri, 11 Mar 2005, Paul Mackerras wrote:
>
> The point is that pci_get_class does a pci_dev_put() on the "from"
> parameter, so your code ended up doing a double put.

Ahh, I missed that too.

Hmm.. We seem to not have any tests for the counts becoming negative, and
this would seem to be an easy mistake to make considering that both I and
Dave did it.

Linus