ia64-mca-always-make-ia64_mca_debug-an-expression.patch removed from -mm tree
The patch titled
Subject: ia64: mca: always make IA64_MCA_DEBUG an expression
has been removed from the -mm tree. Its filename was
ia64-mca-always-make-ia64_mca_debug-an-expression.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Sergei Trofimovich <[email protected]>
Subject: ia64: mca: always make IA64_MCA_DEBUG an expression
At least ia64_mca_log_sal_error_record() expects some statement:
static void ia64_mca_log_sal_error_record(int sal_info_type) {
...
if (irq_safe)
IA64_MCA_DEBUG("CPU %d: SAL log contains %s error record
",
smp_processor_id(),
sal_info_type < ARRAY_SIZE(rec_name) ? rec_name[sal_info_type] : "UNKNOWN");
...
}Instead of fixing all callers the change expicitly makes IA64_MCA_DEBUG a non-empty expression.
---
arch/ia64/kernel/mca.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/ia64/kernel/mca.c renamed from arch/ia64/kernel/mca.c~ia64-mca-always-make-ia64_mca_debug-an-expression +2 -2
@@ -109,9 +109,9 @@#include "irq.h" #if defined(IA64_MCA_DEBUG_INFO ) -# define IA64_MCA_DEBUG(fmt...) printk(fmt) +# define IA64_MCA_DEBUG(fmt...) printk(fmt)#else -# define IA64_MCA_DEBUG(fmt...) +# define IA64_MCA_DEBUG(fmt...) do {} while (0)#endif #define NOTIFY_INIT (event, regs, arg, spin) \
_
Patches currently in -mm which might be from [email protected] are