[PATCH] pci: Fix bus resource assignment on 32 bits with 64b resources

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Dec 7 09:37:05 EST 2007


> It's been discussed before.  Some of the solutions discussed:
> 
>  - Add something like PRI_RES which can be concatenated into a printk.
>    Ugly.
>  - Patch gcc to allow user-definable types.  I think OpenBSD has a patch
>    for this.  Then we have to get that patch propagated to all the
>    people who compile the kernel.  Unappetising.
>  - Disable gcc's printk checking, teach sparse to typecheck printk.
>    Most people don't run sparse yet.

So you seem to dislike all 3, which one do you dislike the less ?

Cheers,
Ben.





More information about the Linuxppc-dev mailing list