diff mbox series

efi/cper: Remove extra space in cper message

Message ID 20241206065227.66889-1-tianruidong@linux.alibaba.com
State New
Headers show
Series efi/cper: Remove extra space in cper message | expand

Commit Message

Ruidong Tian Dec. 6, 2024, 6:52 a.m. UTC
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@linux.alibaba.com>
---
 drivers/firmware/efi/cper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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)