diff options
| author | Gary Guo <gary@garyguo.net> | 2026-07-16 15:25:44 +0100 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-07-19 16:29:18 +0200 |
| commit | 22e77d81d0a9ab3aee1c5538b3f2f8a66930bfa7 (patch) | |
| tree | cceb19b848952c55623523cacc64ef200c755aab /rust/proc-macro2 | |
| parent | ce2d97f714c8a37cac506a41e52da45b09555b81 (diff) | |
| download | linux-next-22e77d81d0a9ab3aee1c5538b3f2f8a66930bfa7.tar.gz linux-next-22e77d81d0a9ab3aee1c5538b3f2f8a66930bfa7.zip | |
rust: drm: fix non-const `read8` in unit test
With CONFIG_CC_OPTIMIZE_FOR_SIZE, the address validity check in non-const
`read8` invocaction is not optimized away, leading to build failure.
Fixes: d055768429b3 ("rust: drm: gem: shmem: Add vmap functions")
Signed-off-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260716142545.3622278-2-gary@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/proc-macro2')
0 files changed, 0 insertions, 0 deletions
