Skip to content

Commit aad31f1

Browse files
committed
rust-for-linux: Import "[PATCH v8 0/9] More Rust bindings for device property reads"
https://lore.kernel.org/rust-for-linux/20250611102908.212514-1-remo@buenzli.dev/ | Applied to driver-core-testing, thanks! | | Once the patches passed 0-day testing they will be merged into driver-core-next. | | > rust: device: Add child accessor and iterator | > rust: device: Add property_get_reference_args | | I did drop those two patches for now, because: | | (1) They're basically dead code. | | (2) It seems that FwNode::property_get_reference_args() leaks a struct | fwnode_handle reference. property_get_reference_args() explicitly says | that the caller is responsible "for calling fwnode_handle_put() on the | returned @args->fwnode pointer", which doesn't seem to happen. | | Can you please fix the leak and resend those two patches with an additional one | that adds a sample usage of the introduced methods to the platform sample | driver? Signed-off-by: Janne Grunau <j@jannau.net>
1 parent de79dc7 commit aad31f1

0 file changed

File tree

    0 commit comments

    Comments
     (0)