Skip to contentSkip to conversation

RFC: remove "Linux 2.4" strings

PATCH In review Randy.Dunlap 2 participants 3 messages Aug 15, 2003

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

PATCH 1/1 RFC: remove "Linux 2.4" strings

This patch removes "Linux 2.4" printed strings from a few drivers and net protocols.

Instead of changing them to "Linux 2.6", they should just be deleted, I think. Other suggestions?

--
~Randy

patch_name: linux_24_string.patch
patch_version: 2003-08-15.09:24:48
author: Randy.Dunlap <[email protected]>
description: remove "Linux 2.4" and variants from printed messages
product: Linux
product_versions: 260-815
diffstat: =

 drivers/scsi/imm.h         |    2 +-
 drivers/scsi/ppa.h         |    2 +-
 drivers/usb/misc/brlvger.c |    2 +-
 net/netrom/af_netrom.c     |    2 +-
 net/rose/af_rose.c         |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
drivers/scsi/imm.h renamed from drivers/scsi/imm.h~str24 +1 -1
diff -Naurp ./drivers/scsi/imm.h~str24 ./drivers/scsi/imm.h
@@ -10,7 +10,7 @@
 #ifndef _IMM_H
 #define _IMM_H
 
-#define   IMM_VERSION   "2.05 (for Linux 2.4.0)"
+#define   IMM_VERSION   "2.05"
 
 /* 
  * 10 Apr 1998 (Good Friday) - Received EN144302 by email from Iomega.
drivers/scsi/ppa.h renamed from drivers/scsi/ppa.h~str24 +1 -1
diff -Naurp ./drivers/scsi/ppa.h~str24 ./drivers/scsi/ppa.h
@@ -10,7 +10,7 @@
 #ifndef _PPA_H
 #define _PPA_H
 
-#define   PPA_VERSION   "2.07 (for Linux 2.4.x)"
+#define   PPA_VERSION   "2.07"
 
 /* 
  * this driver has been hacked by Matteo Frigo ([email protected])
drivers/usb/misc/brlvger.c renamed from drivers/usb/misc/brlvger.c~str24 +1 -1
diff -Naurp ./drivers/usb/misc/brlvger.c~str24 ./drivers/usb/misc/brlvger.c
@@ -31,7 +31,7 @@
 #define DRIVER_AUTHOR \
 	"Stephane Dalton <[email protected]> " \
 	"and Stéphane Doyon <[email protected]>"
-#define DRIVER_DESC "Tieman Voyager braille display USB driver for Linux 2.4"
+#define DRIVER_DESC "Tieman Voyager braille display USB driver for Linux"
 #define DRIVER_SHORTDESC "Voyager"
 
 #define BANNER \
net/rose/af_rose.c renamed from net/rose/af_rose.c~str24 +1 -1
diff -Naurp ./net/rose/af_rose.c~str24 ./net/rose/af_rose.c
@@ -1472,7 +1472,7 @@ static struct notifier_block rose_dev_no
 
 static struct net_device **dev_rose;
 
-static const char banner[] = KERN_INFO "F6FBB/G4KLX ROSE for Linux. Version 0.62 for AX25.037 Linux 2.4\n";
+static const char banner[] = KERN_INFO "F6FBB/G4KLX ROSE for Linux. Version 0.62 for AX25.037\n";
 
 static int __init rose_proto_init(void)
 {
net/netrom/af_netrom.c renamed from net/netrom/af_netrom.c~str24 +1 -1
diff -Naurp ./net/netrom/af_netrom.c~str24 ./net/netrom/af_netrom.c
@@ -1381,7 +1381,7 @@ static struct notifier_block nr_dev_noti
 
 static struct net_device **dev_nr;
 
-static char banner[] __initdata = KERN_INFO "G4KLX NET/ROM for Linux. Version 0.7 for AX25.037 Linux 2.4\n";
+static char banner[] __initdata = KERN_INFO "G4KLX NET/ROM for Linux. Version 0.7 for AX25.037\n";
 
 static int __init nr_proto_init(void)
 {
#1 lore raw
Quoted 6 lines · Randy.Dunlap

This patch removes "Linux 2.4" printed strings from a few drivers and net protocols.

Instead of changing them to "Linux 2.6", they should just be deleted, I think. Other suggestions?

These strings are sometimes useful to maintainers when handling bug reports. Vendors and users often replace drivers with out-of-tree versions to gain features that aren't included in the in-kernel version (because of licensing issues, etc...). I have had this happen with ov511 a number of times, so I add the "for Linux 2.4" now.

Signature · 2 lines
Mark McClelland
[email protected]
#2 lore raw

On Fri, 15 Aug 2003 15:59:30 -0700 Mark McClelland <[email protected]> wrote:

| Randy.Dunlap wrote:
| 
| >This patch removes "Linux 2.4" printed strings from a few
| >drivers and net protocols.
| >
| >Instead of changing them to "Linux 2.6", they should just
| >be deleted, I think.  Other suggestions?
| >
| These strings are sometimes useful to maintainers when handling bug 
| reports. Vendors and users often replace drivers with out-of-tree 
| versions to gain features that aren't included in the in-kernel version 
| (because of licensing issues, etc...). I have had this happen with ov511 
| a number of times, so I add the "for Linux 2.4" now.

OK, I won't push them.
Just seems odd to see drivers "for Linux 2.4" in the 2.6 tree.

Thanks for your RFC reply.

--
~Randy