Re: [PATCH v8 2/2] rust: add dma coherent allocator abstraction.

From: Danilo Krummrich
Date: Wed Jan 08 2025 - 10:21:51 EST


On Wed, Jan 08, 2025 at 04:18:58PM +0100, Christoph Hellwig wrote:
> On Wed, Jan 08, 2025 at 04:16:18PM +0100, Miguel Ojeda wrote:
> > On Wed, Jan 8, 2025 at 3:00 PM Christoph Hellwig <hch@xxxxxx> wrote:
> > >
> > > No rust code in kernel/dma, please.
> >
> > What do you suggest?
>
> Keep the wrappers in your code instead of making life painful for
> others.
>

What does "your code" mean? Duplicated in every driver? Otherwise
rust/kernel/dma.rs seems reasonable, no?