Skip to contentSkip to conversation

iommu/amd: Put newline after closing bracket in warning

PATCH In review Paul Menzel 2 participants 2 messages Apr 12, 2021 – Apr 15, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iommu/amd: Put newline after closing bracket in warning

Currently, on the Dell OptiPlex 5055 the EFR mismatch warning looks like below.

    [    1.479774] smpboot: CPU0: AMD Ryzen 5 PRO 1500 Quad-Core Processor (family: 0x17, model: 0x1, stepping: 0x1)
    […]
    [    2.507370] AMD-Vi: [Firmware Warn]: EFR mismatch. Use IVHD EFR (0xf77ef22294ada : 0x400f77ef22294ada
                   ).

Add the newline after the )., so it’s on one line.

Fixes a44092e326d4 ("iommu/amd: Use IVHD EFR for early initialization of IOMMU features")
Cc Suravee Suthikulpanit <[email protected]>
Cc Brijesh Singh <[email protected]>
Cc Robert Richter <[email protected]>
---
 drivers/iommu/amd/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/amd/init.c +1 -1
index 321f5906e6ed..f7e31018cd0b 100644
@@ -1837,7 +1837,7 @@ static void __init late_iommu_features_init(struct amd_iommu *iommu)
 	 * IVHD and MMIO conflict.
 	 */
 	if (features != iommu->features)
-		pr_warn(FW_WARN "EFR mismatch. Use IVHD EFR (%#llx : %#llx\n).",
+		pr_warn(FW_WARN "EFR mismatch. Use IVHD EFR (%#llx : %#llx).\n",
 			features, iommu->features);
 }
 
Signature · 6 lines
2.31.0

_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu