[PATCH v2 0/2] Additional miscdevice fops parameters

Alice Ryhl posted 2 patches 1 year ago
There is a newer version of this series
rust/kernel/miscdevice.rs | 44 ++++++++++++++++++++++++++++++++++++++------
1 file changed, 38 insertions(+), 6 deletions(-)
[PATCH v2 0/2] Additional miscdevice fops parameters
Posted by Alice Ryhl 1 year ago
This could not land with the base miscdevice abstractions due to the
dependency on File.

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
---
Changes in v2:
- Access the `struct miscdevice` from fops->open().
- Link to v1: https://lore.kernel.org/r/20241203-miscdevice-file-param-v1-1-1d6622978480@google.com

---
Alice Ryhl (2):
      rust: miscdevice: access file in fops
      rust: miscdevice: access the `struct miscdevice` from fops->open()

 rust/kernel/miscdevice.rs | 44 ++++++++++++++++++++++++++++++++++++++------
 1 file changed, 38 insertions(+), 6 deletions(-)
---
base-commit: 40384c840ea1944d7c5a392e8975ed088ecf0b37
change-id: 20241203-miscdevice-file-param-5df7f75861da

Best regards,
-- 
Alice Ryhl <aliceryhl@google.com>
Re: [PATCH v2 0/2] Additional miscdevice fops parameters
Posted by Greg Kroah-Hartman 1 year ago
On Mon, Dec 09, 2024 at 07:27:45AM +0000, Alice Ryhl wrote:
> This could not land with the base miscdevice abstractions due to the
> dependency on File.

So these should go through my char/misc branch now, right?

> Signed-off-by: Alice Ryhl <aliceryhl@google.com>

No need to sign off on patch 0/X :)

thanks,

greg k-h
Re: [PATCH v2 0/2] Additional miscdevice fops parameters
Posted by Alice Ryhl 1 year ago
On Mon, Dec 9, 2024 at 9:43 AM Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> On Mon, Dec 09, 2024 at 07:27:45AM +0000, Alice Ryhl wrote:
> > This could not land with the base miscdevice abstractions due to the
> > dependency on File.
>
> So these should go through my char/misc branch now, right?

Yes, that would be great, thanks!

> > Signed-off-by: Alice Ryhl <aliceryhl@google.com>
>
> No need to sign off on patch 0/X :)

That's just the default when using b4 to send series.

Alice
Re: [PATCH v2 0/2] Additional miscdevice fops parameters
Posted by Konstantin Ryabitsev 1 year ago
On Mon, Dec 09, 2024 at 11:44:04AM +0100, Alice Ryhl wrote:
> > > Signed-off-by: Alice Ryhl <aliceryhl@google.com>
> >
> > No need to sign off on patch 0/X :)
> 
> That's just the default when using b4 to send series.

Some subsystems use cover letters as merge commit messages, which is why we
put the Signed-off-by there by default. Those subsystems that don't use this
workflow can just ignore it (or switch to using the "b4 shazam -M" workflow
themselves, which has its perks).

-K
Re: [PATCH v2 0/2] Additional miscdevice fops parameters
Posted by Miguel Ojeda 1 year ago
On Mon, Dec 9, 2024 at 9:43 AM Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> So these should go through my char/misc branch now, right?

That would be ideal, yeah -- thanks!

Cheers,
Miguel