tech-kern archive

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

Re: proposal for bus_dma(9) change wrote:

> > - Is there any benefit to change all bus_dma(9) implementation
> >   instead of all drivers?  I'm afraid the former is more complicated
> >   because there are many hidden indirect calls via function pointers
> >   in bus_dma structures/macro among machine/bus dependent implementation.

> It shouldn't be hard to change bus_dmamap_create() implementation
> to return a NULL dmamap pointer in error case.

How can you find all MD bus_dmamap_create() implementation in whole
MI/MD source tree?

Is it really easy for you than fixing all (but only problematic) drivers
with grep(1)?

Changing API is really pain than fixing bugs, IMO.
Izumi Tsutsui

Home | Main Index | Thread Index | Old Index