Re: [PATCH] fix improper use of pci_module_init() in drivers/char/agp/amd64-agp.c

From: Dave Jones
Date: Thu Sep 30 2004 - 20:57:52 EST


On Thu, Sep 30, 2004 at 11:42:48AM -0700, Greg KH wrote:
> Hi,

Hi Greg,

> In going through the tree and auditing the usage of pci_module_init(), I
> noticed that the amd64-agp driver was assuming that the return value of
> this function could be greater than 0 (which is what could happen in 2.2
> and 2.4 kernels.) As this is no longer true, I think the following
> patch is correct.
>
> I can add this to my bk-pci tree if you wish, otherwise feel free to
> send it upwards.

I'm going through all kinds of busyness due to a relocation right now,
so feel free to push this yourself after you and Andi are done beating
out the details.

Dave

-
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/