Re:Rust support in the Linux kernel
by estebank on Thursday December 09, 2021 @01:07PM
(#29500814)
The posted code isn't terrible, but it is a bit denser and harder to read than I'd like. Some small changes (like importing the macros to avoid a full path) makes a bit easier to read
I imagine code like this would be the body of a small function that does all this unsafe preparations and gives back a Result<Ref<DeviceData>, Error> once it's done, which would change the end to be
[ Parent
| on HN ]