forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 481
Open
Labels
• libRelated to the `rust/` library.Related to the `rust/` library.
Description
Currently, miscdev::Registration::new and miscdev::Registration::new_pinned both support taking a context to be passed to the FileOpener::open trait method. We'll take it on faith it's useful (IMO it is).
chrdev does not have this support yet. I think it'd make sense to add a context param to chrdev::Registration::register (as opposed to new and new_pinned) b/c the same chrdev::Registration can be used to register multiple cdevs (as opposed to miscdev which can only register one).
Metadata
Metadata
Assignees
Labels
• libRelated to the `rust/` library.Related to the `rust/` library.