Re: Cleanup PCI power states

Greg KH
2004-12-21T20:10:44Z

On Sat, Dec 18, 2004 at 12:50:51AM +0100, Pavel Machek wrote:
> Hi!
>
> > > Okay, here it is, slightly expanded version. It actually makes use of
> > > newly defined type for type-checking purposes; still no code changes.
> >
> > Alright, I've applied this, and it will show up in the next -mm release.
> > I also fixed up pci.h for when CONFIG_PCI=N due to your changed
> > functions.
> >
> > Now, care to send patches to fix up all of the new sparse warnings in
> > the drivers/pci/* directory?
>
> This should reduce number of warnings in pci.c. It will still warn on
> comparison (because we are using __bitwise, but in fact we want
> something like "this is unique but arithmetic is still ok"), but that
> probably needs to be fixed in sparse.
>
> Also killed "function does not return anything" warning.
>
> Please apply,

What kernel tree is this against? I get rejects in the second hunk.

thanks,

greg k-h