summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-02-03 20:11:52 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2006-02-08 01:04:59 -0500
commit97fa5a664e69f2fcdd2120e7f4765f8c1df56282 (patch)
tree8b8a2eb0be8e2a114d257476922915cca49558ca
parent8ef9cf318152d864d6694b19e655cbefa1e85256 (diff)
downloadop-kernel-dev-97fa5a664e69f2fcdd2120e7f4765f8c1df56282.zip
op-kernel-dev-97fa5a664e69f2fcdd2120e7f4765f8c1df56282.tar.gz
[PATCH] s390 __get_user() bogus warnings removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--include/asm-s390/uaccess.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-s390/uaccess.h b/include/asm-s390/uaccess.h
index e2c73b4..0b7c0ca 100644
--- a/include/asm-s390/uaccess.h
+++ b/include/asm-s390/uaccess.h
@@ -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: \
OpenPOWER on IntegriCloud