Skip to content

Commit 2e569ad

Browse files
committed
x86/microcode: Remove the driver announcement and version
First of all, the print is useless. The driver will either load and say which microcode revision the machine has or issue an error. Then, the version number is meaningless and actively confusing, as Yazen mentioned recently: when a subset of patches are backported to a distro kernel, one can't assume the driver version is the same as the upstream one. And besides, the version number of the loader hasn't been used and incremented for a long time. So drop it. Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20231115210212.9981-2-bp@alien8.de
1 parent 98b1cc8 commit 2e569ad

File tree

1 file changed

+0
-4
lines changed
  • arch/x86/kernel/cpu/microcode

1 file changed

+0
-4
lines changed

arch/x86/kernel/cpu/microcode/core.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141

4242
#include "internal.h"
4343

44-
#define DRIVER_VERSION "2.2"
45-
4644
static struct microcode_ops *microcode_ops;
4745
bool dis_ucode_ldr = true;
4846

@@ -846,8 +844,6 @@ static int __init microcode_init(void)
846844
cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "x86/microcode:online",
847845
mc_cpu_online, mc_cpu_down_prep);
848846

849-
pr_info("Microcode Update Driver: v%s.", DRIVER_VERSION);
850-
851847
return 0;
852848

853849
out_pdev:

0 commit comments

Comments
 (0)