* [PATCH] fix the issue when reading longer records from ERST DEBUG module
@ 2011-05-20 8:22 Chen Gong
0 siblings, 0 replies; only message in thread
From: Chen Gong @ 2011-05-20 8:22 UTC (permalink / raw)
To: ying.huang, tony.luck, lenb; +Cc: linux-acpi, Chen Gong
In the driver erst-dbg, There is an issue when the log in ERST
table is too long(>4K), it can't be read out. Increase the buffer
size to 16K to ensure such logs can be read from ERST table.
Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
---
drivers/acpi/apei/erst-dbg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/acpi/apei/erst-dbg.c b/drivers/acpi/apei/erst-dbg.c
index a4cfb64..3f7b0b2 100644
--- a/drivers/acpi/apei/erst-dbg.c
+++ b/drivers/acpi/apei/erst-dbg.c
@@ -33,7 +33,7 @@
#define ERST_DBG_PFX "ERST DBG: "
-#define ERST_DBG_RECORD_LEN_MAX 4096
+#define ERST_DBG_RECORD_LEN_MAX 0x4000
static void *erst_dbg_buf;
static unsigned int erst_dbg_buf_len;
--
1.7.5.185.g0b9dee
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-20 8:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-20 8:22 [PATCH] fix the issue when reading longer records from ERST DEBUG module Chen Gong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).