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
359dad18
Commit
359dad18
authored
Oct 15, 2002
by
Jaroslav Kysela
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA update
- ioctl32 - added missing backslashes
parent
ab34ca8e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sound/core/ioctl32/ioctl32.h
sound/core/ioctl32/ioctl32.h
+2
-2
No files found.
sound/core/ioctl32/ioctl32.h
View file @
359dad18
...
@@ -91,11 +91,11 @@ static int _snd_ioctl32_##type(unsigned int fd, unsigned int cmd, unsigned long
...
@@ -91,11 +91,11 @@ static int _snd_ioctl32_##type(unsigned int fd, unsigned int cmd, unsigned long
if (data32 == NULL || data == NULL) { \
if (data32 == NULL || data == NULL) { \
err = -ENOMEM; \
err = -ENOMEM; \
goto __end; \
goto __end; \
}
}
\
if (copy_from_user(data32, (void*)arg, sizeof(*data32))) { \
if (copy_from_user(data32, (void*)arg, sizeof(*data32))) { \
err = -EFAULT; \
err = -EFAULT; \
goto __end; \
goto __end; \
}
}
\
memset(data, 0, sizeof(*data));\
memset(data, 0, sizeof(*data));\
convert_from_32(type, data, data32);\
convert_from_32(type, data, data32);\
oldseg = get_fs();\
oldseg = get_fs();\
...
...
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