mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] Add HW_ERR printk prefix for hardware error logging
@ 2010-05-31  8:48 Huang Ying
  2010-06-11  6:04 ` [tip:x86/mce] x86, mce: " tip-bot for Huang Ying
  0 siblings, 1 reply; 2+ messages in thread
From: Huang Ying @ 2010-05-31  8:48 UTC (permalink / raw)
  To: Ingo Molnar, H. Peter Anvin, Andi Kleen, Hidetoshi Seto; +Cc: linux-kernel

This makes hardware error related log in printk log more explicit. So
that the users can report it to hardware vendor instead of LKML or
software vendor.

Signed-off-by: Huang Ying <ying.huang@intel.com>
---
 include/linux/kernel.h |    7 +++++++
 1 file changed, 7 insertions(+)

--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -247,6 +247,13 @@ extern struct pid *session_of_pgrp(struc
 #define FW_WARN		"[Firmware Warn]: "
 #define FW_INFO		"[Firmware Info]: "
 
+/*
+ * HW_ERR
+ * Add this to a message for hardware errors, so that user can report
+ * it to hardware vendor instead of LKML or software vendor.
+ */
+#define HW_ERR		"[Hardware Error]: "
+
 #ifdef CONFIG_PRINTK
 asmlinkage int vprintk(const char *fmt, va_list args)
 	__attribute__ ((format (printf, 1, 0)));



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-11  6:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-31  8:48 [PATCH 1/2] Add HW_ERR printk prefix for hardware error logging Huang Ying
2010-06-11  6:04 ` [tip:x86/mce] x86, mce: " tip-bot for Huang Ying

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

Powered by JetHome