Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
737cff56
Commit
737cff56
authored
Feb 26, 2004
by
Andrew Morton
Committed by
Linus Torvalds
Feb 26, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] rename other MODULE_VERSION users
Avoid cpp clash with the new MODULE_VERSION
parent
ccec1be4
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
Documentation/DocBook/procfs_example.c
Documentation/DocBook/procfs_example.c
+3
-3
arch/ppc64/kernel/lparcfg.c
arch/ppc64/kernel/lparcfg.c
+1
-1
arch/ppc64/kernel/rtas_flash.c
arch/ppc64/kernel/rtas_flash.c
+1
-1
arch/ppc64/kernel/scanlog.c
arch/ppc64/kernel/scanlog.c
+1
-1
drivers/net/amd8111e.c
drivers/net/amd8111e.c
+3
-3
net/bridge/netfilter/ebt_vlan.c
net/bridge/netfilter/ebt_vlan.c
+3
-3
No files found.
Documentation/DocBook/procfs_example.c
View file @
737cff56
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#define MODULE_VERS
ION
"1.0"
#define MODULE_VERS "1.0"
#define MODULE_NAME "procfs_example"
#define MODULE_NAME "procfs_example"
#define FOOBAR_LEN 8
#define FOOBAR_LEN 8
...
@@ -185,7 +185,7 @@ static int __init init_procfs_example(void)
...
@@ -185,7 +185,7 @@ static int __init init_procfs_example(void)
/* everything OK */
/* everything OK */
printk
(
KERN_INFO
"%s %s initialised
\n
"
,
printk
(
KERN_INFO
"%s %s initialised
\n
"
,
MODULE_NAME
,
MODULE_VERS
ION
);
MODULE_NAME
,
MODULE_VERS
);
return
0
;
return
0
;
no_symlink:
no_symlink:
...
@@ -213,7 +213,7 @@ static void __exit cleanup_procfs_example(void)
...
@@ -213,7 +213,7 @@ static void __exit cleanup_procfs_example(void)
remove_proc_entry
(
MODULE_NAME
,
NULL
);
remove_proc_entry
(
MODULE_NAME
,
NULL
);
printk
(
KERN_INFO
"%s %s removed
\n
"
,
printk
(
KERN_INFO
"%s %s removed
\n
"
,
MODULE_NAME
,
MODULE_VERS
ION
);
MODULE_NAME
,
MODULE_VERS
);
}
}
...
...
arch/ppc64/kernel/lparcfg.c
View file @
737cff56
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
#include <asm/hvcall.h>
#include <asm/hvcall.h>
#include <asm/cputable.h>
#include <asm/cputable.h>
#define MODULE_VERS
ION
"1.0"
#define MODULE_VERS "1.0"
#define MODULE_NAME "lparcfg"
#define MODULE_NAME "lparcfg"
static
struct
proc_dir_entry
*
proc_ppc64_lparcfg
;
static
struct
proc_dir_entry
*
proc_ppc64_lparcfg
;
...
...
arch/ppc64/kernel/rtas_flash.c
View file @
737cff56
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <asm/rtas.h>
#include <asm/rtas.h>
#define MODULE_VERS
ION
"1.0"
#define MODULE_VERS "1.0"
#define MODULE_NAME "rtas_flash"
#define MODULE_NAME "rtas_flash"
#define FIRMWARE_FLASH_NAME "firmware_flash"
#define FIRMWARE_FLASH_NAME "firmware_flash"
...
...
arch/ppc64/kernel/scanlog.c
View file @
737cff56
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
#include <asm/prom.h>
#include <asm/prom.h>
#include <asm/proc_fs.h>
#include <asm/proc_fs.h>
#define MODULE_VERS
ION
"1.0"
#define MODULE_VERS "1.0"
#define MODULE_NAME "scanlog"
#define MODULE_NAME "scanlog"
/* Status returns from ibm,scan-log-dump */
/* Status returns from ibm,scan-log-dump */
...
...
drivers/net/amd8111e.c
View file @
737cff56
...
@@ -91,7 +91,7 @@ Revision History:
...
@@ -91,7 +91,7 @@ Revision History:
#include "amd8111e.h"
#include "amd8111e.h"
#define MODULE_NAME "amd8111e"
#define MODULE_NAME "amd8111e"
#define MODULE_VERS
ION
"3.0.3"
#define MODULE_VERS "3.0.3"
MODULE_AUTHOR
(
"Advanced Micro Devices, Inc."
);
MODULE_AUTHOR
(
"Advanced Micro Devices, Inc."
);
MODULE_DESCRIPTION
(
"AMD8111 based 10/100 Ethernet Controller. Driver Version 3.0.3"
);
MODULE_DESCRIPTION
(
"AMD8111 based 10/100 Ethernet Controller. Driver Version 3.0.3"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
...
@@ -1402,7 +1402,7 @@ static int amd8111e_ethtool_ioctl(struct net_device* dev, void* useraddr)
...
@@ -1402,7 +1402,7 @@ static int amd8111e_ethtool_ioctl(struct net_device* dev, void* useraddr)
case
ETHTOOL_GDRVINFO
:{
case
ETHTOOL_GDRVINFO
:{
struct
ethtool_drvinfo
info
=
{
ETHTOOL_GDRVINFO
};
struct
ethtool_drvinfo
info
=
{
ETHTOOL_GDRVINFO
};
strcpy
(
info
.
driver
,
MODULE_NAME
);
strcpy
(
info
.
driver
,
MODULE_NAME
);
strcpy
(
info
.
version
,
MODULE_VERS
ION
);
strcpy
(
info
.
version
,
MODULE_VERS
);
memset
(
&
info
.
fw_version
,
0
,
sizeof
(
info
.
fw_version
));
memset
(
&
info
.
fw_version
,
0
,
sizeof
(
info
.
fw_version
));
sprintf
(
info
.
fw_version
,
"%u"
,
chip_version
);
sprintf
(
info
.
fw_version
,
"%u"
,
chip_version
);
strcpy
(
info
.
bus_info
,
pci_name
(
pci_dev
));
strcpy
(
info
.
bus_info
,
pci_name
(
pci_dev
));
...
@@ -1917,7 +1917,7 @@ static int __devinit amd8111e_probe_one(struct pci_dev *pdev,
...
@@ -1917,7 +1917,7 @@ static int __devinit amd8111e_probe_one(struct pci_dev *pdev,
/* display driver and device information */
/* display driver and device information */
chip_version
=
(
readl
(
lp
->
mmio
+
CHIPID
)
&
0xf0000000
)
>>
28
;
chip_version
=
(
readl
(
lp
->
mmio
+
CHIPID
)
&
0xf0000000
)
>>
28
;
printk
(
KERN_INFO
"%s: AMD-8111e Driver Version: %s
\n
"
,
dev
->
name
,
MODULE_VERS
ION
);
printk
(
KERN_INFO
"%s: AMD-8111e Driver Version: %s
\n
"
,
dev
->
name
,
MODULE_VERS
);
printk
(
KERN_INFO
"%s: [ Rev %x ] PCI 10/100BaseT Ethernet "
,
dev
->
name
,
chip_version
);
printk
(
KERN_INFO
"%s: [ Rev %x ] PCI 10/100BaseT Ethernet "
,
dev
->
name
,
chip_version
);
for
(
i
=
0
;
i
<
6
;
i
++
)
for
(
i
=
0
;
i
<
6
;
i
++
)
printk
(
"%2.2x%c"
,
dev
->
dev_addr
[
i
],
i
==
5
?
' '
:
':'
);
printk
(
"%2.2x%c"
,
dev
->
dev_addr
[
i
],
i
==
5
?
' '
:
':'
);
...
...
net/bridge/netfilter/ebt_vlan.c
View file @
737cff56
...
@@ -25,13 +25,13 @@
...
@@ -25,13 +25,13 @@
#include <linux/netfilter_bridge/ebt_vlan.h>
#include <linux/netfilter_bridge/ebt_vlan.h>
static
unsigned
char
debug
;
static
unsigned
char
debug
;
#define MODULE_VERS
ION
"0.6"
#define MODULE_VERS "0.6"
MODULE_PARM
(
debug
,
"0-1b"
);
MODULE_PARM
(
debug
,
"0-1b"
);
MODULE_PARM_DESC
(
debug
,
"debug=1 is turn on debug messages"
);
MODULE_PARM_DESC
(
debug
,
"debug=1 is turn on debug messages"
);
MODULE_AUTHOR
(
"Nick Fedchik <nick@fedchik.org.ua>"
);
MODULE_AUTHOR
(
"Nick Fedchik <nick@fedchik.org.ua>"
);
MODULE_DESCRIPTION
(
"802.1Q match module (ebtables extension), v"
MODULE_DESCRIPTION
(
"802.1Q match module (ebtables extension), v"
MODULE_VERS
ION
);
MODULE_VERS
);
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
...
@@ -179,7 +179,7 @@ static struct ebt_match filter_vlan = {
...
@@ -179,7 +179,7 @@ static struct ebt_match filter_vlan = {
static
int
__init
init
(
void
)
static
int
__init
init
(
void
)
{
{
DEBUG_MSG
(
"ebtables 802.1Q extension module v"
DEBUG_MSG
(
"ebtables 802.1Q extension module v"
MODULE_VERS
ION
"
\n
"
);
MODULE_VERS
"
\n
"
);
DEBUG_MSG
(
"module debug=%d
\n
"
,
!!
debug
);
DEBUG_MSG
(
"module debug=%d
\n
"
,
!!
debug
);
return
ebt_register_match
(
&
filter_vlan
);
return
ebt_register_match
(
&
filter_vlan
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment