summaryrefslogtreecommitdiff
path: root/tools/scripts/Makefile.include
diff options
context:
space:
mode:
authorMarwan Mohamed Zein <marawanzein222@gmail.com>2026-11-14 15:21:55 +0200
committerMiguel Ojeda <ojeda@kernel.org>2026-11-17 07:31:52 +0100
commitdf71affdd95ea60fa3fb31e666389a53fd3297db (patch)
tree0a820e2bc095e71ff9406b6f3573ac065a3109c2 /tools/scripts/Makefile.include
parent1eaa31fa41125db78a50abef7f0a35aa22af40d0 (diff)
rust: iov: fix return lifetime of `copy_from_iter_raw()`
The returned slice is derived from `out`, but lifetime elision ties it to `self` because this is a method. Explicitly bind the return lifetime to `out` so the returned slice cannot outlive its backing buffer. Fixes: 06cb58b310ea ("rust: iov: add iov_iter abstractions for ITER_SOURCE") Cc: stable@vger.kernel.org Reported-by: spidermana <xuyiwen14@gmail.com> Closes: https://github.com/Rust-for-Linux/linux/issues/1265 Signed-off-by: Marwan Mohamed Zein <marawanzein222@gmail.com> Link: https://patch.msgid.link/20261114132156.49243-1-marawanzein222@gmail.com [ Reworded title. - Miguel ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'tools/scripts/Makefile.include')
0 files changed, 0 insertions, 0 deletions