]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: dma: remove incorrect safety documentation
authorYilin Chen <1479826151@qq.com>
Sun, 28 Dec 2025 16:52:34 +0000 (00:52 +0800)
committerDanilo Krummrich <dakr@kernel.org>
Mon, 29 Dec 2025 11:41:02 +0000 (12:41 +0100)
commit68ece1e2ce3a1cb0aac9f5af685cf18fa2fa31aa
tree0acb1e87286ed204ff8f95121feb5d6f5676192d
parent2f4ca87469b9499eb9218cf2a374018cfee6b649
rust: dma: remove incorrect safety documentation

Removes a safety requirement that incorrectly states callers must
ensure the device does not access memory while the returned slice
is live, as this method doesn't return a slice.

Fixes: d37a39f607c4 ("rust: dma: add as_slice/write functions for CoherentAllocation")
Signed-off-by: Yilin Chen <1479826151@qq.com>
Link: https://patch.msgid.link/tencent_5195C0324923A2B67DEF8AE4B8E139BCB105@qq.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
rust/kernel/dma.rs