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
76ef485a
Commit
76ef485a
authored
Jul 18, 2002
by
Eddie C. Dost
Committed by
David S. Miller
Jul 18, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SPARC64: Fix bugs in ioctl32 registration.
parent
1add29dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
arch/sparc64/kernel/ioctl32.c
arch/sparc64/kernel/ioctl32.c
+3
-1
No files found.
arch/sparc64/kernel/ioctl32.c
View file @
76ef485a
...
@@ -4857,13 +4857,15 @@ int unregister_ioctl32_conversion(unsigned int cmd)
...
@@ -4857,13 +4857,15 @@ int unregister_ioctl32_conversion(unsigned int cmd)
(
unsigned
long
)
t
<
((
unsigned
long
)
additional_ioctls
)
+
PAGE_SIZE
)
{
(
unsigned
long
)
t
<
((
unsigned
long
)
additional_ioctls
)
+
PAGE_SIZE
)
{
ioctl32_hash_table
[
hash
]
=
t
->
next
;
ioctl32_hash_table
[
hash
]
=
t
->
next
;
t
->
cmd
=
0
;
t
->
cmd
=
0
;
t
->
next
=
0
;
return
0
;
return
0
;
}
else
while
(
t
->
next
)
{
}
else
while
(
t
->
next
)
{
t1
=
(
struct
ioctl_trans
*
)(
long
)
t
->
next
;
t1
=
(
struct
ioctl_trans
*
)(
long
)
t
->
next
;
if
(
t1
->
cmd
==
cmd
&&
t1
>=
additional_ioctls
&&
if
(
t1
->
cmd
==
cmd
&&
t1
>=
additional_ioctls
&&
(
unsigned
long
)
t1
<
((
unsigned
long
)
additional_ioctls
)
+
PAGE_SIZE
)
{
(
unsigned
long
)
t1
<
((
unsigned
long
)
additional_ioctls
)
+
PAGE_SIZE
)
{
t1
->
cmd
=
0
;
t
->
next
=
t1
->
next
;
t
->
next
=
t1
->
next
;
t1
->
cmd
=
0
;
t1
->
next
=
0
;
return
0
;
return
0
;
}
}
t
=
t1
;
t
=
t1
;
...
...
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