Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
d5a858bc
Commit
d5a858bc
authored
Nov 08, 2005
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Missing compat_ioctl hookup in openprom driver.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
f093182d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
drivers/sbus/char/openprom.c
drivers/sbus/char/openprom.c
+3
-0
No files found.
drivers/sbus/char/openprom.c
View file @
d5a858bc
...
@@ -596,6 +596,8 @@ static long openprom_compat_ioctl(struct file *file, unsigned int cmd,
...
@@ -596,6 +596,8 @@ static long openprom_compat_ioctl(struct file *file, unsigned int cmd,
lock_kernel
();
lock_kernel
();
break
;
break
;
}
}
return
rval
;
}
}
static
int
openprom_open
(
struct
inode
*
inode
,
struct
file
*
file
)
static
int
openprom_open
(
struct
inode
*
inode
,
struct
file
*
file
)
...
@@ -623,6 +625,7 @@ static struct file_operations openprom_fops = {
...
@@ -623,6 +625,7 @@ static struct file_operations openprom_fops = {
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
.
llseek
=
no_llseek
,
.
llseek
=
no_llseek
,
.
ioctl
=
openprom_ioctl
,
.
ioctl
=
openprom_ioctl
,
.
compat_ioctl
=
openprom_compat_ioctl
,
.
open
=
openprom_open
,
.
open
=
openprom_open
,
.
release
=
openprom_release
,
.
release
=
openprom_release
,
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment