Skip to contentSkip to conversation

mm-debug-add-vm_warn-which-maps-to-warn.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 27, 2016

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: include/linux/mmdebug.h: add VM_WARN which maps to WARN()
has been removed from the -mm tree. Its filename was
mm-debug-add-vm_warn-which-maps-to-warn.patch

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

------------------------------------------------------
From: "Aneesh Kumar K.V" <[email protected]>
Subject: include/linux/mmdebug.h: add VM_WARN which maps to WARN()

This enables us to do VM_WARN(condition, "warn message");

---

 include/linux/mmdebug.h |    2 ++
 1 file changed, 2 insertions(+)
include/linux/mmdebug.h renamed from include/linux/mmdebug.h~mm-debug-add-vm_warn-which-maps-to-warn +2 -0
diff -puN include/linux/mmdebug.h~mm-debug-add-vm_warn-which-maps-to-warn include/linux/mmdebug.h
@@ -39,6 +39,7 @@ void dump_mm(const struct mm_struct *mm)
 #define VM_WARN_ON(cond) WARN_ON(cond)
 #define VM_WARN_ON_ONCE(cond) WARN_ON_ONCE(cond)
 #define VM_WARN_ONCE(cond, format...) WARN_ONCE(cond, format)
+#define VM_WARN(cond, format...) WARN(cond, format)
 #else
 #define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond)
 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond)
@@ -47,6 +48,7 @@ void dump_mm(const struct mm_struct *mm)
 #define VM_WARN_ON(cond) BUILD_BUG_ON_INVALID(cond)
 #define VM_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond)
 #define VM_WARN_ONCE(cond, format...) BUILD_BUG_ON_INVALID(cond)
+#define VM_WARN(cond, format...) BUILD_BUG_ON_INVALID(cond)
 #endif
 
 #ifdef CONFIG_DEBUG_VIRTUAL

_

Patches currently in -mm which might be from [email protected] are