Skip to contentSkip to conversation

x86/ucode: Fix missing printk() newline in ucode_probe_amd()

PATCH In review Andrew Cooper 3 participants 3 messages Oct 16, 2025 – Oct 17, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/ucode: Fix missing printk() newline in ucode_probe_amd()

Fixes 630e8875ab36 ("x86/ucode: Perform extra SHA2 checks on AMD Fam17h/19h microcode")

---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Oleksii Kurochko <[email protected]>

For 4.21. This is a formatting fix with basically 0 risk.

It is encouraging that no-one has reported this bug so far, because it suggests that no-one has turned off digest checking and then looked at dmesg.

---
 xen/arch/x86/cpu/microcode/amd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/cpu/microcode/amd.c +1 -1
index a5729229a403..59332da2b827 100644
@@ -519,7 +519,7 @@ void __init ucode_probe_amd(struct microcode_ops *ops)
     if ( !opt_digest_check && boot_cpu_data.family >= 0x17 )
     {
         printk(XENLOG_WARNING
-               "Microcode patch additional digest checks disabled");
+               "Microcode patch additional digest checks disabled\n");
         add_taint(TAINT_CPU_OUT_OF_SPEC);
     }
 
Signature · 1 line
2.39.5
#2 lore raw
In reply to Andrew Cooper
Quoted 11 lines · Andrew Cooper
Fixes 630e8875ab36 ("x86/ucode: Perform extra SHA2 checks on AMD Fam17h/19h microcode")

---
CC: Jan Beulich<[email protected]>
CC: Roger Pau Monné<[email protected]>
CC: Oleksii Kurochko<[email protected]>

For 4.21. This is a formatting fix with basically 0 risk.

It is encouraging that no-one has reported this bug so far, because it suggests that no-one has turned off digest checking and then looked at dmesg.

Thanks.

~ Oleksii

Quoted 17 lines
---
  xen/arch/x86/cpu/microcode/amd.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/cpu/microcode/amd.c +1 -1
index a5729229a403..59332da2b827 100644
@@ -519,7 +519,7 @@ void __init ucode_probe_amd(struct microcode_ops *ops)
      if ( !opt_digest_check && boot_cpu_data.family >= 0x17 )
      {
          printk(XENLOG_WARNING
-               "Microcode patch additional digest checks disabled");
+               "Microcode patch additional digest checks disabled\n");
          add_taint(TAINT_CPU_OUT_OF_SPEC);
      }