Re: Cleanup PCI power states

From: Greg KH
Date: Tue Dec 21 2004 - 15:14:47 EST


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