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

From: Tamir Duberstein

Date: Tue May 26 2026 - 10:45:37 EST


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@xxxxxxxxxxxxxx/ [1]

Signed-off-by: Tamir Duberstein <tamird@xxxxxxxxxx>
---
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@xxxxxxxxxx>