forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add functions to read/write plain old data (POD) types.
Other minor changes: * Made UserSlicePtr::new public. This is to allow drivers to access user buffers that don't come directly from file operations. * Ability to clone UserSlicePtr. This is for cases when we need to read then write; so we clone before creating a reader/writer.
- Loading branch information
Showing
1 changed file
with
66 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters