diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-02-03 20:11:52 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-02-08 01:04:59 -0500 |
commit | 97fa5a664e69f2fcdd2120e7f4765f8c1df56282 (patch) | |
tree | 8b8a2eb0be8e2a114d257476922915cca49558ca | |
parent | 8ef9cf318152d864d6694b19e655cbefa1e85256 (diff) |
[PATCH] s390 __get_user() bogus warnings removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | include/asm-s390/uaccess.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-s390/uaccess.h b/include/asm-s390/uaccess.h index e2c73b45de40..0b7c0ca4c3d7 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)); | |||
208 | case 1: { \ | 208 | case 1: { \ |
209 | unsigned char __x; \ | 209 | unsigned char __x; \ |
210 | __get_user_asm(__x, ptr, __gu_err); \ | 210 | __get_user_asm(__x, ptr, __gu_err); \ |
211 | (x) = *(__typeof__(*(ptr)) *) &__x; \ | 211 | (x) = *(__force __typeof__(*(ptr)) *) &__x; \ |
212 | break; \ | 212 | break; \ |
213 | }; \ | 213 | }; \ |
214 | case 2: { \ | 214 | case 2: { \ |
215 | unsigned short __x; \ | 215 | unsigned short __x; \ |
216 | __get_user_asm(__x, ptr, __gu_err); \ | 216 | __get_user_asm(__x, ptr, __gu_err); \ |
217 | (x) = *(__typeof__(*(ptr)) *) &__x; \ | 217 | (x) = *(__force __typeof__(*(ptr)) *) &__x; \ |
218 | break; \ | 218 | break; \ |
219 | }; \ | 219 | }; \ |
220 | case 4: { \ | 220 | case 4: { \ |
221 | unsigned int __x; \ | 221 | unsigned int __x; \ |
222 | __get_user_asm(__x, ptr, __gu_err); \ | 222 | __get_user_asm(__x, ptr, __gu_err); \ |
223 | (x) = *(__typeof__(*(ptr)) *) &__x; \ | 223 | (x) = *(__force __typeof__(*(ptr)) *) &__x; \ |
224 | break; \ | 224 | break; \ |
225 | }; \ | 225 | }; \ |
226 | case 8: { \ | 226 | case 8: { \ |
227 | unsigned long long __x; \ | 227 | unsigned long long __x; \ |
228 | __get_user_asm(__x, ptr, __gu_err); \ | 228 | __get_user_asm(__x, ptr, __gu_err); \ |
229 | (x) = *(__typeof__(*(ptr)) *) &__x; \ | 229 | (x) = *(__force __typeof__(*(ptr)) *) &__x; \ |
230 | break; \ | 230 | break; \ |
231 | }; \ | 231 | }; \ |
232 | default: \ | 232 | default: \ |