Re: [PATCH RFC 4/6] rust/scatterlist: add SGEntry::init_one
From: Philippe Mathieu-Daudé
Date: Thu May 07 2026 - 04:35:35 EST
On 5/5/26 10:14, Manos Pitsidianakis wrote:
Add a method to allow creation of an SGEntry with borrowed data.
Analogous of `sg_init_one` in C.
Signed-off-by: Manos Pitsidianakis <manos@xxxxxxxxxxxxxx>
---
rust/kernel/scatterlist.rs | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>