Messages in this thread Patch in this message | | | Subject | [PATCH 13/17] s390 __get_user() bogus warnings removal | From | Al Viro <> | Date | Wed, 08 Feb 2006 07:11:11 +0000 |
| |
Date: 1139015512 -0500
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
include/asm-s390/uaccess.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
97fa5a664e69f2fcdd2120e7f4765f8c1df56282 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) __attrib 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: \ -- 0.99.9.GIT - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |