[PATCH 0/2] rust: device: remove ref-to-ref transmute

Tamir Duberstein posted 2 patches 1 week, 6 days ago
rust/kernel/device/property.rs | 46 ++++++++++++++++++------------------------
1 file changed, 20 insertions(+), 26 deletions(-)
[PATCH 0/2] rust: device: remove ref-to-ref transmute
Posted by Tamir Duberstein 1 week, 6 days ago
This series came out of discussion with Alice in another series[1]. It
removes an unnecessary unsafe block and optimizes away an array copy.

Link: https://lore.kernel.org/all/CAH5fLgibt_BQmOtkfEfo1=48zUeoWBJ-=u5gzw_a3X6Q7=aUSA@mail.gmail.com/ [1]

Signed-off-by: Tamir Duberstein <tamird@kernel.org>
---
Tamir Duberstein (2):
      rust: device: remove unused ref-to-ref transmute
      rust: device: remove array copy

 rust/kernel/device/property.rs | 46 ++++++++++++++++++------------------------
 1 file changed, 20 insertions(+), 26 deletions(-)
---
base-commit: fc1ce3afa2e61b4b15e71436ece91b0441a9f4f0
change-id: 20260526-trasnmute_ptr_to_ptr-a0e442749cc1

Best regards,
--  
Tamir Duberstein <tamird@kernel.org>