- fix-warn_on-on-bitfield-ops-for-all-other-archs.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Fix WARN_ON() on bitfield ops for all other archs
has been removed from the -mm tree.  Its filename was
     fix-warn_on-on-bitfield-ops-for-all-other-archs.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: Fix WARN_ON() on bitfield ops for all other archs
From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>

Fixes WARN_ON() on bitfield ops for all architectures that have been left
out in 8d4fbcfbe0a4bfc73e7f0297c59ae514e1f1436f.

Cc: Alexey Dobriyan <adobriyan@xxxxx>
Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Cc: Paul Mundt <lethal@xxxxxxxxxxxx>
Cc: Haavard Skinnemoen <hskinnemoen@xxxxxxxxx>
Cc: Matthew Wilcox <matthew@xxxxxx>
Cc: Kyle McMartin <kyle@xxxxxxxxxxxxxxxx>
Cc: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/asm-avr32/bug.h  |    2 +-
 include/asm-parisc/bug.h |    2 +-
 include/asm-s390/bug.h   |    2 +-
 include/asm-sh/bug.h     |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff -puN include/asm-avr32/bug.h~fix-warn_on-on-bitfield-ops-for-all-other-archs include/asm-avr32/bug.h
--- a/include/asm-avr32/bug.h~fix-warn_on-on-bitfield-ops-for-all-other-archs
+++ a/include/asm-avr32/bug.h
@@ -57,7 +57,7 @@
 
 #define WARN_ON(condition)							\
 	({								\
-		typeof(condition) __ret_warn_on = (condition);		\
+		int __ret_warn_on = !!(condition);			\
 		if (unlikely(__ret_warn_on))				\
 			_BUG_OR_WARN(BUGFLAG_WARNING);			\
 		unlikely(__ret_warn_on);				\
diff -puN include/asm-parisc/bug.h~fix-warn_on-on-bitfield-ops-for-all-other-archs include/asm-parisc/bug.h
--- a/include/asm-parisc/bug.h~fix-warn_on-on-bitfield-ops-for-all-other-archs
+++ a/include/asm-parisc/bug.h
@@ -74,7 +74,7 @@
 
 
 #define WARN_ON(x) ({						\
-	typeof(x) __ret_warn_on = (x);				\
+	int __ret_warn_on = !!(x);				\
 	if (__builtin_constant_p(__ret_warn_on)) {		\
 		if (__ret_warn_on)				\
 			__WARN();				\
diff -puN include/asm-s390/bug.h~fix-warn_on-on-bitfield-ops-for-all-other-archs include/asm-s390/bug.h
--- a/include/asm-s390/bug.h~fix-warn_on-on-bitfield-ops-for-all-other-archs
+++ a/include/asm-s390/bug.h
@@ -50,7 +50,7 @@
 #define BUG()	__EMIT_BUG(0)
 
 #define WARN_ON(x) ({					\
-	typeof(x) __ret_warn_on = (x);			\
+	int __ret_warn_on = !!(x);			\
 	if (__builtin_constant_p(__ret_warn_on)) {	\
 		if (__ret_warn_on)			\
 			__EMIT_BUG(BUGFLAG_WARNING);	\
diff -puN include/asm-sh/bug.h~fix-warn_on-on-bitfield-ops-for-all-other-archs include/asm-sh/bug.h
--- a/include/asm-sh/bug.h~fix-warn_on-on-bitfield-ops-for-all-other-archs
+++ a/include/asm-sh/bug.h
@@ -61,7 +61,7 @@ do {							\
 } while (0)
 
 #define WARN_ON(x) ({						\
-	typeof(x) __ret_warn_on = (x);				\
+	int __ret_warn_on = !!(x);				\
 	if (__builtin_constant_p(__ret_warn_on)) {		\
 		if (__ret_warn_on)				\
 			__WARN();				\
_

Patches currently in -mm which might be from heiko.carstens@xxxxxxxxxx are

slow-down-printk-during-boot-fix-4.patch
git-wireless.patch
avoid-ssb-compililation-on-s390.patch
during-vm-oom-condition-kill-all-threads-in-process-group.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux