acpi: arm64: agdi: fix missing newline in error message
Subsystems (2)
PATCH 1/2 acpi: arm64: 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 a2a591fb76e6f5461dfd04715b69c317e50c43a5 ("ACPI: AGDI: Add driver for Arm Generic Diagnostic Dump and Reset device")
Signed-off-by Haoyu Lu <[email protected]>
--- drivers/acpi/arm64/agdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/arm64/agdi.c +1 -1
@@ -36,7 +36,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; }
Signature · 1 line
2.17.1
Quoted 7 lines · Haoyu Lu
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 a2a591fb76e6f5461dfd04715b69c317e50c43a5 ("ACPI: AGDI: Add driver for Arm Generic Diagnostic Dump and Reset device")Signed-off-by Haoyu Lu <[email protected]>
Thanks for the patch.
Would you mind changing the prefix on the subject line to match the previous patches? That is, change it to "ACPI: AGDI: ....".
With that change
Reviewed-by Ilkka Koskinen <[email protected]>
Cheers, Ilkka
Quoted 21 lines
---
drivers/acpi/arm64/agdi.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/acpi/arm64/agdi.c +1
-1@@ -36,7 +36,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; }Signature · 1 line
2.17.1