Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
Linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
E-EXK4 - Operating System Group
projects
Linux
Commits
4fe56e80
Commit
4fe56e80
authored
11 years ago
by
Al Viro
Browse files
Options
Downloads
Patches
Plain Diff
xtensa simdisk: fix braino in "xtensa simdisk: switch to proc_create_data()"
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
371fdab1
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/xtensa/platforms/iss/simdisk.c
+1
-1
1 addition, 1 deletion
arch/xtensa/platforms/iss/simdisk.c
with
1 addition
and
1 deletion
arch/xtensa/platforms/iss/simdisk.c
+
1
−
1
View file @
4fe56e80
...
@@ -231,7 +231,7 @@ static ssize_t proc_read_simdisk(struct file *file, char __user *buf,
...
@@ -231,7 +231,7 @@ static ssize_t proc_read_simdisk(struct file *file, char __user *buf,
}
}
static
ssize_t
proc_write_simdisk
(
struct
file
*
file
,
const
char
__user
*
buf
,
static
ssize_t
proc_write_simdisk
(
struct
file
*
file
,
const
char
__user
*
buf
,
size_t
size
,
loff_t
*
ppos
)
size_t
count
,
loff_t
*
ppos
)
{
{
char
*
tmp
=
kmalloc
(
count
+
1
,
GFP_KERNEL
);
char
*
tmp
=
kmalloc
(
count
+
1
,
GFP_KERNEL
);
struct
simdisk
*
dev
=
PDE_DATA
(
file_inode
(
file
));
struct
simdisk
*
dev
=
PDE_DATA
(
file_inode
(
file
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment