Re: [PATCH 1/2] PCI: replace hard-coded resource index by macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 23, 2009 at 11:32:22AM +1100, Benjamin Herrenschmidt wrote:
> On Sat, 2009-02-21 at 19:10 -0700, Grant Grundler wrote:
> > 
> > drivers/parisc code assumes the hard coded numbers.
> > I'm looking at drivers/parisc/lba_pci.c:lba_fixup_bus().
>
> A bunch of archs do, we need to fix them :-)

Of course, and I'm willing to help fix them (it's generally trivial).
I'd like to avoid breaking them in the interim though.
If the enums are guaranteed to start at zero, should be fine.

thanks,
grant
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux