Skip to contentSkip to conversation

2.5 and devfs versioning

PATCH New Andrey Borzenkov 3 participants 3 messages Jul 13, 2003 – Jul 14, 2003

lore
Share & tools
lore
#0 lore raw

{pts/2}% dmesg | head -1
Linux version 2.5.75-1borsmp ...

{pts/2}% dmesg | grep devfs
Kernel command line: BOOT_IMAGE=2575-1borsmp ro root=345 devfs=mount
devfs: v1.22 (20021013) Richard Gooch ([email protected])

well, this is not quite correct to put it mildly. It has been so much changed that IMHO it needs own version just to avoid confusion.

-andrey

#1 lore raw
Quoted 9 lines · Andrey Borzenkov

{pts/2}% dmesg | head -1
Linux version 2.5.75-1borsmp ...

{pts/2}% dmesg | grep devfs
Kernel command line: BOOT_IMAGE=2575-1borsmp ro root=345 devfs=mount
devfs: v1.22 (20021013) Richard Gooch ([email protected])

well, this is not quite correct to put it mildly. It has been so much changed that IMHO it needs own version just to avoid confusion.

Just rip out the whole printk then. Componentes that are maintained inside the kernel tree don't need version numbers.

#2 lore raw

PATCH 1/1 Remove mtrr version printk

Quoted 2 lines · El Sun, 13 Jul 2003 10:25:43 +0100 Christoph Hellwig <[email protected]>…

Just rip out the whole printk then. Componentes that are maintained inside the kernel tree don't need version numbers.

So I guess this would be right.

arch/i386/kernel/cpu/mtrr/main.c renamed from arch/i386/kernel/cpu/mtrr/main.c~nuke_mtrrver +0 -3
diff -puN arch/i386/kernel/cpu/mtrr/main.c~nuke_mtrrver arch/i386/kernel/cpu/mtrr/main.c
@@ -44,8 +44,6 @@
 #include <asm/msr.h>
 #include "mtrr.h"
 
-#define MTRR_VERSION            "2.0 (20020519)"
-
 u32 num_var_ranges = 0;
 
 unsigned int *usage_table;
@@ -677,7 +675,6 @@ static int __init mtrr_init(void)
 			break;
 		}
 	}
-	printk("mtrr: v%s\n",MTRR_VERSION);
 
 	if (mtrr_if) {
 		set_num_var_ranges();

_