[merged] bug-when-config_bug-make-warn-call-no_printk-to-check-format-and-args.patch removed from -mm tree

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

 



Subject: [merged] bug-when-config_bug-make-warn-call-no_printk-to-check-format-and-args.patch removed from -mm tree
To: josh@xxxxxxxxxxxxxxxx,arnd@xxxxxxxx,mm-commits@xxxxxxxxxxxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
Date: Tue, 08 Apr 2014 14:35:29 -0700


The patch titled
     Subject: bug: when !CONFIG_BUG, make WARN call no_printk to check format and args
has been removed from the -mm tree.  Its filename was
     bug-when-config_bug-make-warn-call-no_printk-to-check-format-and-args.patch

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

------------------------------------------------------
From: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
Subject: bug: when !CONFIG_BUG, make WARN call no_printk to check format and args

The stub version of WARN for !CONFIG_BUG completely ignored its format
string and subsequent arguments; make it check them instead, using
no_printk.

Signed-off-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
Reported-by: Arnd Bergmann <arnd@xxxxxxxx>
Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/asm-generic/bug.h |    1 +
 1 file changed, 1 insertion(+)

diff -puN include/asm-generic/bug.h~bug-when-config_bug-make-warn-call-no_printk-to-check-format-and-args include/asm-generic/bug.h
--- a/include/asm-generic/bug.h~bug-when-config_bug-make-warn-call-no_printk-to-check-format-and-args
+++ a/include/asm-generic/bug.h
@@ -155,6 +155,7 @@ extern void warn_slowpath_null(const cha
 #ifndef WARN
 #define WARN(condition, format...) ({					\
 	int __ret_warn_on = !!(condition);				\
+	no_printk(format);						\
 	unlikely(__ret_warn_on);					\
 })
 #endif
_

Patches currently in -mm which might be from josh@xxxxxxxxxxxxxxxx are

origin.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