Re: [PATCH] rust: dma: return zero for Coherent reads past EOF

Miguel Ojeda <[email protected]> Thu, 23 Jul 2026 18:15:30 +0200
Newsgroups dev.linux.lists.driver-core,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux
Message-ID <CANiq72k34khi=vGRxge0sX-1d0+N0f=ixhdko7jqvfw1S4dsqA@mail.gmail.com>
On Mon, Jul 20, 2026 at 9:22 PM Younes Akhouayri via B4 Relay
<[email protected]> wrote:
>
> Fixes: 016818513936 ("rust: dma: implement BinaryWriter for Coherent<[u8]>")

This hash is in v7.1 so it should likely have:

Cc: [email protected]

In addition:

Link: https://rust-for-linux.zulipchat.com/#narrow/channel/291566-Library/topic/.E2.9C.94.20Possible.20past-EOF.20bug.20in.20Coherent.3CT.3E.3A.3Awrite_to_slice/near/611677095

since it was discussed there :)

No need to resend, though!

> base-commit: 880c43b185ca52239e75bc546cc4f4d9154d0fed

This points to `rust-fixes`, but it was likely better to point to the
`driver-core` branch instead.

Thanks for the patch!

Cheers,
Miguel