public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 13/17] s390 __get_user() bogus warnings removal
@ 2006-02-08  7:11 Al Viro
  0 siblings, 0 replies; only message in thread
From: Al Viro @ 2006-02-08  7:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: schwidefsky

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-08  7:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-08  7:11 [PATCH 13/17] s390 __get_user() bogus warnings removal Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox