Re: [PATCH] samples: rust: fix endianness issue in rust_driver_pci

From: Dirk Behme

Date: Thu Nov 13 2025 - 00:48:58 EST


On 12/11/2025 11:24, Miguel Ojeda wrote:
On Wed, Nov 12, 2025 at 11:17 AM Dirk Behme <dirk.behme@xxxxxxxxxxxx> wrote:

Hmm, I can't find the initial patch in my Inbox. Even

https://lore.kernel.org/rust-for-linux/aRRJPZVkCv2i7kt2@xxxxxxxxxxxxxxxxxx/

doesn't seem to have it?

It was only sent to the linux-pci list -- for situations like this,
you can click in the "[not found]" message at the bottom, and then on

Message-ID: <20251101214629.10718-1-mt@xxxxxxxxxxxxxx>
found in another inbox:

../../linux-pci/20251101214629.10718-1-mt@xxxxxxxxxxxxxx/

where that last line is a link to the other list that you can click to find it.

I hope that helps!


Yes, thanks, that helps a lot!

And yes, the change itself looks good. I gave this a try with x86 QEMU and as expected (as mentioned it is a no-op on x86) I get with and without this patch

rust_driver_pci 0000:00:04.0: pci-testdev data-match count: 1

With this:

Tested-by: Dirk Behme <dirk.behme@xxxxxxxxxxxx>

Thanks,

Dirk