Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dragoş TĂRCATU (557)
llvmlinux
Commits
c71a08d6
Commit
c71a08d6
authored
Apr 19, 2014
by
Mark Charlebois
Committed by
Behan Webster
Apr 30, 2014
Browse files
overflow-warn
parent
fbb064de
Changes
1
Show whitespace changes
Inline
Side-by-side
fs/compat_ioctl.c
View file @
c71a08d6
...
@@ -810,7 +810,7 @@ static int compat_ioctl_preallocate(struct file *file,
...
@@ -810,7 +810,7 @@ static int compat_ioctl_preallocate(struct file *file,
*/
*/
#define XFORM(i) (((i) ^ ((i) << 27) ^ ((i) << 17)) & 0xffffffff)
#define XFORM(i) (((i) ^ ((i) << 27) ^ ((i) << 17)) & 0xffffffff)
#define COMPATIBLE_IOCTL(cmd) XFORM(cmd),
#define COMPATIBLE_IOCTL(cmd) XFORM(
(u32)
cmd),
/* ioctl should not be warned about even if it's not implemented.
/* ioctl should not be warned about even if it's not implemented.
Valid reasons to use this:
Valid reasons to use this:
- It is implemented with ->compat_ioctl on some device, but programs
- It is implemented with ->compat_ioctl on some device, but programs
...
...
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