From d19eca503861824a6c8f8eea7eabc79e14479f84 Mon Sep 17 00:00:00 2001 From: Shyam Sundar S K Date: Thu, 23 Jul 2026 16:45:31 +0530 Subject: [PATCH] platform/x86/amd/pmf: Add missing newline in dev_err message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the missing trailing newline to the dev_err() message printed when an invalid CPU id is encountered. Signed-off-by: Shyam Sundar S K Link: https://patch.msgid.link/20260723111534.1940925-5-Shyam-sundar.S-k@amd.com Reviewed-by: Ilpo Järvinen Signed-off-by: Ilpo Järvinen --- drivers/platform/x86/amd/pmf/metrics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/amd/pmf/metrics.c b/drivers/platform/x86/amd/pmf/metrics.c index e457bcf490b6..a5444ad52cf4 100644 --- a/drivers/platform/x86/amd/pmf/metrics.c +++ b/drivers/platform/x86/amd/pmf/metrics.c @@ -73,7 +73,7 @@ int amd_pmf_set_dram_addr(struct amd_pmf_dev *dev, bool alloc_buffer) dev->mtable_size = sizeof(dev->m_table_v2); break; default: - dev_err(dev->dev, "Invalid CPU id: 0x%x", dev->cpu_id); + dev_err(dev->dev, "Invalid CPU id: 0x%x\n", dev->cpu_id); } dev->buf = devm_kzalloc(dev->dev, dev->mtable_size, GFP_KERNEL);