Skip to contentSkip to conversation

drm/amd/amdgpu: Add missing newline in DRM_DEBUG_DRIVER message

PATCH In review Ed Maste 2 participants 2 messages Nov 21, 2025 – Nov 24, 2025

Subsystems (2)
lore
Share & tools
lore

Ed Maste

author
#0 lore raw

PATCH 1/1 drm/amd/amdgpu: Add missing newline in DRM_DEBUG_DRIVER message

This error message was emitted without a newline during bring-up on FreeBSD. Presumably the error doesn't occur on Linux so was not noticed before.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c +1 -1
index 6c62e27b9800..d8a4e918846c 100644
@@ -1109,7 +1109,7 @@ static int amdgpu_acpi_enumerate_xcc(void)
 		 * one is not found, no need to check the rest.
 		 */
 		if (!acpi_dev) {
-			DRM_DEBUG_DRIVER("No matching acpi device found for %s",
+			DRM_DEBUG_DRIVER("No matching acpi device found for %s\n",
 					 hid);
 			break;
 		}
Signature · 1 line
2.51.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Ed Maste

This error message was emitted without a newline during bring-up on FreeBSD. Presumably the error doesn't occur on Linux so was not noticed before.

Thanks, I've applied it.

Quoted 17 lines
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c +1 -1
index 6c62e27b9800..d8a4e918846c 100644
@@ -1109,7 +1109,7 @@ static int amdgpu_acpi_enumerate_xcc(void)
  		 * one is not found, no need to check the rest.
  		 */
  		if (!acpi_dev) {
-			DRM_DEBUG_DRIVER("No matching acpi device found for %s",
+			DRM_DEBUG_DRIVER("No matching acpi device found for %s\n",
  					 hid);
  			break;
  		}