Re: [PATCH 6/6] rust: page: Make Page::as_ptr() pub(crate)
From: Andreas Hindborg
Date: Wed Feb 19 2025 - 04:19:12 EST
"Asahi Lina" <lina@xxxxxxxxxxxxx> writes:
> There's no good reason for drivers to need access to the raw `struct
> page` pointer, since that should be handled by Rust abstractions. Make
> this method pub(crate) so it is only visible to the kernel crate.
>
As I mentioned on another patch, we are planning to split the kernel
crate per subsystem, and this would need to be pub again then.
Best regards,
Andreas Hindborg