diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-12 10:51:13 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-12 10:51:13 +0300 |
| commit | e92d336eaf244d27b88f6d8742b776ae72173992 (patch) | |
| tree | f436db9680ca65bdc4f034c7e70e781691312389 /samples/rust | |
| parent | 8314d2c28d3369bc879af8e848f810292b16d0af (diff) | |
| parent | 0f61b1860cc3f52aef9036d7235ed1f017632193 (diff) | |
| download | linux-e92d336eaf244d27b88f6d8742b776ae72173992.tar.xz | |
Merge 6.19-rc5 into char-misc-next
We need the char/misc fixes in here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/rust')
| -rw-r--r-- | samples/rust/rust_driver_pci.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/rust/rust_driver_pci.rs b/samples/rust/rust_driver_pci.rs index 5823787bea8e..fa677991a5c4 100644 --- a/samples/rust/rust_driver_pci.rs +++ b/samples/rust/rust_driver_pci.rs @@ -48,7 +48,7 @@ impl SampleDriver { // Select the test. bar.write8(index.0, Regs::TEST); - let offset = u32::from_le(bar.read32(Regs::OFFSET)) as usize; + let offset = bar.read32(Regs::OFFSET) as usize; let data = bar.read8(Regs::DATA); // Write `data` to `offset` to increase `count` by one. |
