Skip to content

Commit

Permalink
[PATCH] s390 __get_user() bogus warnings removal
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Feb 8, 2006
1 parent 8ef9cf3 commit 97fa5a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/asm-s390/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,25 +208,25 @@ extern int __put_user_bad(void) __attribute__((noreturn));
case 1: { \
unsigned char __x; \
__get_user_asm(__x, ptr, __gu_err); \
(x) = *(__typeof__(*(ptr)) *) &__x; \
(x) = *(__force __typeof__(*(ptr)) *) &__x; \
break; \
}; \
case 2: { \
unsigned short __x; \
__get_user_asm(__x, ptr, __gu_err); \
(x) = *(__typeof__(*(ptr)) *) &__x; \
(x) = *(__force __typeof__(*(ptr)) *) &__x; \
break; \
}; \
case 4: { \
unsigned int __x; \
__get_user_asm(__x, ptr, __gu_err); \
(x) = *(__typeof__(*(ptr)) *) &__x; \
(x) = *(__force __typeof__(*(ptr)) *) &__x; \
break; \
}; \
case 8: { \
unsigned long long __x; \
__get_user_asm(__x, ptr, __gu_err); \
(x) = *(__typeof__(*(ptr)) *) &__x; \
(x) = *(__force __typeof__(*(ptr)) *) &__x; \
break; \
}; \
default: \
Expand Down

0 comments on commit 97fa5a6

Please sign in to comment.