s390 __get_user() bogus warnings removal
PATCH 13/17 s390 __get_user() bogus warnings removal
Date: 1139015512 -0500
Signed-off-by Al Viro <[email protected]>
---
include/asm-s390/uaccess.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
97fa5a664e69f2fcdd2120e7f4765f8c1df56282
include/asm-s390/uaccess.h +4 -4
@@ -208,25 +208,25 @@ extern int __put_user_bad(void) __attribcase 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 : \
Signature · 1 line
0.99.9.GIT