summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>2026-07-23 16:45:31 +0530
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-07-27 21:43:54 +0300
commitd19eca503861824a6c8f8eea7eabc79e14479f84 (patch)
treefbec5604b57e32e0cee99260ac563f204bff0a96
parent2e34aca48f42ef0d3ff95d79e82268b2eacae486 (diff)
downloadlinux-next-d19eca503861824a6c8f8eea7eabc79e14479f84.tar.gz
linux-next-d19eca503861824a6c8f8eea7eabc79e14479f84.zip
platform/x86/amd/pmf: Add missing newline in dev_err message
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 <Shyam-sundar.S-k@amd.com> Link: https://patch.msgid.link/20260723111534.1940925-5-Shyam-sundar.S-k@amd.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
-rw-r--r--drivers/platform/x86/amd/pmf/metrics.c2
1 files changed, 1 insertions, 1 deletions
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);