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

From: Miguel Ojeda

Date: Thu Jul 23 2026 - 12:24:33 EST


On Mon, Jul 20, 2026 at 9:22 PM Younes Akhouayri via B4 Relay
<devnull+git.younes.io@xxxxxxxxxx> wrote:
>
> Fixes: 016818513936 ("rust: dma: implement BinaryWriter for Coherent<[u8]>")

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

Cc: stable@xxxxxxxxxxxxxxx

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