[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20241206065227.66889-1-tianruidong@linux.alibaba.com>
Date: Fri, 6 Dec 2024 14:52:27 +0800
From: Ruidong Tian <tianruidong@...ux.alibaba.com>
To: linux-kernel@...r.kernel.org
Cc: linux-efi@...r.kernel.org,
ardb@...nel.org,
tianruidong@...baba.linux.com,
xueshuai@...ux.alibaba.com,
Ruidong Tian <tianruidong@...ux.alibaba.com>
Subject: [PATCH] efi/cper: Remove extra space in cper message
cper_print_mem print a extra space like:
{3}[Hardware Error]: error_status: Storage error ...
{3}[Hardware Error]: physical_address: 0x000004099099c400
The correct output is:
{3}[Hardware Error]: error_status: Storage error ...
{3}[Hardware Error]: physical_address: 0x000004099099c400
Signed-off-by: Ruidong Tian <tianruidong@...ux.alibaba.com>
---
drivers/firmware/efi/cper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/firmware/efi/cper.c b/drivers/firmware/efi/cper.c
index b69e68ef3f02..aa86171f8531 100644
--- a/drivers/firmware/efi/cper.c
+++ b/drivers/firmware/efi/cper.c
@@ -364,7 +364,7 @@ static void cper_print_mem(const char *pfx, const struct cper_sec_mem_err *mem,
return;
}
if (mem->validation_bits & CPER_MEM_VALID_ERROR_STATUS)
- printk("%s error_status: %s (0x%016llx)\n",
+ printk("%s""error_status: %s (0x%016llx)\n",
pfx, cper_mem_err_status_str(mem->error_status),
mem->error_status);
if (mem->validation_bits & CPER_MEM_VALID_PA)
--
2.33.1
Powered by blists - more mailing lists