[PATCH] efi/cper: Remove extra space in cper message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx>
---
 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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux