forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/bonding: Make DRV macros private
The bonding modules currently defines four macros with general names that pollute the global namespace: DRV_VERSION DRV_RELDATE DRV_NAME DRV_DESCRIPTION Fixing that by defining a private bonding_priv.h header files which includes those defines. Signed-off-by: Matan Barak <[email protected]> Signed-off-by: Or Gerlitz <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information
Showing
4 changed files
with
28 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* Bond several ethernet interfaces into a Cisco, running 'Etherchannel'. | ||
* | ||
* Portions are (c) Copyright 1995 Simon "Guru Aleph-Null" Janes | ||
* NCM: Network and Communications Management, Inc. | ||
* | ||
* BUT, I'm the one who modified it for ethernet, so: | ||
* (c) Copyright 1999, Thomas Davis, [email protected] | ||
* | ||
* This software may be used and distributed according to the terms | ||
* of the GNU Public License, incorporated herein by reference. | ||
* | ||
*/ | ||
|
||
#ifndef _BONDING_PRIV_H | ||
#define _BONDING_PRIV_H | ||
|
||
#define DRV_VERSION "3.7.1" | ||
#define DRV_RELDATE "April 27, 2011" | ||
#define DRV_NAME "bonding" | ||
#define DRV_DESCRIPTION "Ethernet Channel Bonding Driver" | ||
|
||
#define bond_version DRV_DESCRIPTION ": v" DRV_VERSION " (" DRV_RELDATE ")\n" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters