[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87wmbuhm81.fsf@kernel.org>
Date: Tue, 08 Apr 2025 14:27:42 +0200
From: Andreas Hindborg <a.hindborg@...nel.org>
To: "Abdiel Janulgue" <abdiel.janulgue@...il.com>
Cc: <ojeda@...nel.org>, "Danilo Krummrich" <dakr@...nel.org>, "Daniel
Almeida" <daniel.almeida@...labora.com>, "Robin Murphy"
<robin.murphy@....com>, "Alex Gaynor" <alex.gaynor@...il.com>, "Boqun
Feng" <boqun.feng@...il.com>, "Gary Guo" <gary@...yguo.net>,
Björn Roy
Baron <bjorn3_gh@...tonmail.com>, "Benno Lossin"
<benno.lossin@...ton.me>, "Alice Ryhl" <aliceryhl@...gle.com>, "Trevor
Gross" <tmgross@...ch.edu>, <rust-for-linux@...r.kernel.org>, "Marek
Szyprowski" <m.szyprowski@...sung.com>, <iommu@...ts.linux.dev>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/3] rust: dma: be consistent in using the `coherent`
nomenclature
"Abdiel Janulgue" <abdiel.janulgue@...il.com> writes:
> In the kernel, `consistent` and `coherent` are used interchangeably for
> the region described in this api. Stick with `coherent` nomenclature
> to show that dma_alloc_coherent() is being used.
>
> Signed-off-by: Abdiel Janulgue <abdiel.janulgue@...il.com>
> ---
> rust/kernel/dma.rs | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/rust/kernel/dma.rs b/rust/kernel/dma.rs
> index 8cdc76043ee7..d3f448868457 100644
> --- a/rust/kernel/dma.rs
> +++ b/rust/kernel/dma.rs
> @@ -89,15 +89,15 @@ pub mod attrs {
> /// Forces contiguous allocation of the buffer in physical memory.
> pub const DMA_ATTR_FORCE_CONTIGUOUS: Attrs = Attrs(bindings::DMA_ATTR_FORCE_CONTIGUOUS);
>
> - /// This is a hint to the DMA-mapping subsystem that it's probably not worth the time to try
> + /// Hints DMA-mapping subsystem that it's probably not worth the time to try
This and the next two edits has nothing to do with coherent/consistent
nomenclature. Please update the commit message to reflect that.
Best regards,
Andreas Hindborg
Powered by blists - more mailing lists