RE: [PATCH] cpqarray update

From: Wiran, Francis
Date: Thu Jan 29 2004 - 14:21:11 EST


Ok. I'll make a patch when the behaviour changes, as per Greg's:

>Yeah, I don't really like it either, but figured it was a 2.7 task to
>clean it up properly.

At 2.6.1, it still returns count.


> -----Original Message-----
> From: Jeff Garzik [mailto:jgarzik@xxxxxxxxx]
> Sent: Thursday, January 29, 2004 10:57 AM
> To: Wiran, Francis
> Cc: Greg KH; Hollis Blanchard; Marcelo Tosatti; Linux Kernel
> Mailing List
> Subject: Re: [PATCH] cpqarray update
>
>
> Wiran, Francis wrote:
> > check for negative value? That's odd. The
> pci_register_driver() in my
> > copy of 2.4.24 kernel (drivers/pci/pci.c) looks something like this:
> >
> > {
> > count = 0;
> >
> > for ....
> > count += foo();
> >
> > return count;
> > }
> >
> >
> > Or will it change in the future? The patch that I sent was
> based on what
> > is in the current kernel.
>
>
> Correct, Greg was referring to 2.6.x behavior of
> pci_register_driver(),
> which changed from 2.4.x.
>
> Jeff
>
>
>
>
-
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/