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
nexedi
linux
Commits
97fa5a66
Commit
97fa5a66
authored
Feb 03, 2006
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] s390 __get_user() bogus warnings removal
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
8ef9cf31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
include/asm-s390/uaccess.h
include/asm-s390/uaccess.h
+4
-4
No files found.
include/asm-s390/uaccess.h
View file @
97fa5a66
...
@@ -208,25 +208,25 @@ extern int __put_user_bad(void) __attribute__((noreturn));
...
@@ -208,25 +208,25 @@ extern int __put_user_bad(void) __attribute__((noreturn));
case 1: { \
case 1: { \
unsigned char __x; \
unsigned char __x; \
__get_user_asm(__x, ptr, __gu_err); \
__get_user_asm(__x, ptr, __gu_err); \
(x) = *(__
typeof__(*(ptr)) *) &__x;
\
(x) = *(__
force __typeof__(*(ptr)) *) &__x;
\
break; \
break; \
}; \
}; \
case 2: { \
case 2: { \
unsigned short __x; \
unsigned short __x; \
__get_user_asm(__x, ptr, __gu_err); \
__get_user_asm(__x, ptr, __gu_err); \
(x) = *(__
typeof__(*(ptr)) *) &__x;
\
(x) = *(__
force __typeof__(*(ptr)) *) &__x;
\
break; \
break; \
}; \
}; \
case 4: { \
case 4: { \
unsigned int __x; \
unsigned int __x; \
__get_user_asm(__x, ptr, __gu_err); \
__get_user_asm(__x, ptr, __gu_err); \
(x) = *(__
typeof__(*(ptr)) *) &__x;
\
(x) = *(__
force __typeof__(*(ptr)) *) &__x;
\
break; \
break; \
}; \
}; \
case 8: { \
case 8: { \
unsigned long long __x; \
unsigned long long __x; \
__get_user_asm(__x, ptr, __gu_err); \
__get_user_asm(__x, ptr, __gu_err); \
(x) = *(__
typeof__(*(ptr)) *) &__x;
\
(x) = *(__
force __typeof__(*(ptr)) *) &__x;
\
break; \
break; \
}; \
}; \
default: \
default: \
...
...
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