mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-09-22 09:34:56 +02:00
ACPI: AGDI: fix missing newline in error message
[ Upstream commitb178330b67] Add the missing trailing newline to the dev_err() message printed when SDEI event registration fails. This keeps the error output as a properly terminated log line. Fixes:a2a591fb76("ACPI: AGDI: Add driver for Arm Generic Diagnostic Dump and Reset device") Reviewed-by: Ilkka Koskinen <ilkka@os.amperecomputing.com> Signed-off-by: Haoyu Lu <hechushiguitu666@gmail.com> Reviewed-by: Hanjun Guo <guohanjun@huawei.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
73ae96e2be
commit
bcfdf159d1
@@ -32,7 +32,7 @@ static int agdi_sdei_probe(struct platform_device *pdev,
|
||||
|
||||
err = sdei_event_register(adata->sdei_event, agdi_sdei_handler, pdev);
|
||||
if (err) {
|
||||
dev_err(&pdev->dev, "Failed to register for SDEI event %d",
|
||||
dev_err(&pdev->dev, "Failed to register for SDEI event %d\n",
|
||||
adata->sdei_event);
|
||||
return err;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user