Re: [PATCH v3 3/5] samples: rust: Provide example using the new Rust MiscDevice abstraction
From: Lee Jones
Date: Fri Dec 06 2024 - 02:36:29 EST
On Fri, 06 Dec 2024, Greg KH wrote:
> On Fri, Dec 06, 2024 at 07:14:30AM +0000, Lee Jones wrote:
> > On Fri, 06 Dec 2024, Greg KH wrote:
> > > > + fn open() -> Result<KBox<Self>> {
> > > > + pr_info!("Opening Rust Misc Device Sample\n");
> > >
> > > I'd prefer this to be dev_info() to start with please.
> >
> > This is not possible at the moment. Please see the cover-letter.
>
> Then why make the change to miscdevice.rs if that pointer provided there
> doesn't work for you here?
It's half the puzzle to get it working. We're waiting on the other
(more complex) part from Alice before we can make use of it. Would you
like me to remove it from the set until we have all of the pieces?
--
Lee Jones [李琼斯]