[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2025091820-canine-tanning-3def@gregkh>
Date: Thu, 18 Sep 2025 16:59:01 +0200
From: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
To: ManeraKai <manerakai@...tonmail.com>
Cc: "aliceryhl@...gle.com" <aliceryhl@...gle.com>,
"arnd@...db.de" <arnd@...db.de>,
"rust-for-linux@...r.kernel.org" <rust-for-linux@...r.kernel.org>,
"linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/3] rust: miscdevice: Implemented `read` and `write`
On Thu, Sep 18, 2025 at 02:45:36PM +0000, ManeraKai wrote:
> Added the general declaration in `FileOperations`. And implemented the
> safe wrapping for misc.
While read/write is "traditional", perhaps instead you should just
export read_iter and write_iter as that is the proper way forward for
drivers to be using.
thanks,
greg k-h
Powered by blists - more mailing lists