Skip to content

Commit b178330

Browse files
Haoyu Luctmarinas
authored andcommitted
ACPI: AGDI: fix missing newline in error message
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: a2a591f ("ACPI: AGDI: Add driver for Arm Generic Diagnostic Dump and Reset device") Reviewed-by: Ilkka Koskinen <[email protected]> Signed-off-by: Haoyu Lu <[email protected]> Reviewed-by: Hanjun Guo <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
1 parent 1f318b9 commit b178330

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/acpi/arm64/agdi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ static int agdi_sdei_probe(struct platform_device *pdev,
3636

3737
err = sdei_event_register(adata->sdei_event, agdi_sdei_handler, pdev);
3838
if (err) {
39-
dev_err(&pdev->dev, "Failed to register for SDEI event %d",
39+
dev_err(&pdev->dev, "Failed to register for SDEI event %d\n",
4040
adata->sdei_event);
4141
return err;
4242
}

0 commit comments

Comments
 (0)