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
nexedi
linux
Commits
7ae47691
Commit
7ae47691
authored
Apr 09, 2004
by
Randy Dunlap
Committed by
David S. Miller
Apr 09, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Kill __FUNCTION__ string literal concatenation.
From Tony Breeds <tony@bakeyournoodle.com>
parent
2204808f
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
net/8021q/vlan.h
net/8021q/vlan.h
+2
-2
net/8021q/vlanproc.c
net/8021q/vlanproc.c
+1
-1
net/ipv4/netfilter/ip_conntrack_irc.c
net/ipv4/netfilter/ip_conntrack_irc.c
+2
-2
net/ipv4/netfilter/ip_conntrack_tftp.c
net/ipv4/netfilter/ip_conntrack_tftp.c
+2
-2
net/ipv4/netfilter/ip_nat_tftp.c
net/ipv4/netfilter/ip_nat_tftp.c
+2
-2
net/ipv4/netfilter/ipt_ULOG.c
net/ipv4/netfilter/ipt_ULOG.c
+3
-3
No files found.
net/8021q/vlan.h
View file @
7ae47691
...
@@ -19,8 +19,8 @@ I never found it..and the problem seems to have dissappeared. Still,
...
@@ -19,8 +19,8 @@ I never found it..and the problem seems to have dissappeared. Still,
I'll bet they might prove useful again... --Ben
I'll bet they might prove useful again... --Ben
#define VLAN_MEM_DBG(x, y, z) printk(VLAN_DBG
__FUNCTION__ ": " x
, y, z);
#define VLAN_MEM_DBG(x, y, z) printk(VLAN_DBG
"%s: " x, __FUNCTION__
, y, z);
#define VLAN_FMEM_DBG(x, y) printk(VLAN_DBG
__FUNCTION__ ": " x
, y);
#define VLAN_FMEM_DBG(x, y) printk(VLAN_DBG
"%s: " x, __FUNCTION__
, y);
*/
*/
/* This way they don't do anything! */
/* This way they don't do anything! */
...
...
net/8021q/vlanproc.c
View file @
7ae47691
...
@@ -220,7 +220,7 @@ int vlan_proc_rem_dev(struct net_device *vlandev)
...
@@ -220,7 +220,7 @@ int vlan_proc_rem_dev(struct net_device *vlandev)
}
}
#ifdef VLAN_DEBUG
#ifdef VLAN_DEBUG
printk
(
VLAN_DBG
__FUNCTION__
": dev: %p
\n
"
,
vlandev
);
printk
(
VLAN_DBG
"%s: dev: %p
\n
"
,
__FUNCTION__
,
vlandev
);
#endif
#endif
/** NOTE: This will consume the memory pointed to by dent, it seems. */
/** NOTE: This will consume the memory pointed to by dent, it seems. */
...
...
net/ipv4/netfilter/ip_conntrack_irc.c
View file @
7ae47691
...
@@ -60,8 +60,8 @@ DECLARE_LOCK(ip_irc_lock);
...
@@ -60,8 +60,8 @@ DECLARE_LOCK(ip_irc_lock);
struct
module
*
ip_conntrack_irc
=
THIS_MODULE
;
struct
module
*
ip_conntrack_irc
=
THIS_MODULE
;
#if 0
#if 0
#define DEBUGP(format, args...) printk(KERN_DEBUG
__FILE__ ":" __FUNCTION__
\
#define DEBUGP(format, args...) printk(KERN_DEBUG
"%s:%s:" format,
\
":" format
, ## args)
__FILE__, __FUNCTION__
, ## args)
#else
#else
#define DEBUGP(format, args...)
#define DEBUGP(format, args...)
#endif
#endif
...
...
net/ipv4/netfilter/ip_conntrack_tftp.c
View file @
7ae47691
...
@@ -33,8 +33,8 @@ MODULE_PARM_DESC(ports, "port numbers of tftp servers");
...
@@ -33,8 +33,8 @@ MODULE_PARM_DESC(ports, "port numbers of tftp servers");
#endif
#endif
#if 0
#if 0
#define DEBUGP(format, args...) printk(
__FILE__ ":" __FUNCTION__ ": "
\
#define DEBUGP(format, args...) printk(
"%s:%s:" format,
\
format
, ## args)
__FILE__, __FUNCTION__
, ## args)
#else
#else
#define DEBUGP(format, args...)
#define DEBUGP(format, args...)
#endif
#endif
...
...
net/ipv4/netfilter/ip_nat_tftp.c
View file @
7ae47691
...
@@ -47,8 +47,8 @@ MODULE_PARM_DESC(ports, "port numbers of tftp servers");
...
@@ -47,8 +47,8 @@ MODULE_PARM_DESC(ports, "port numbers of tftp servers");
#endif
#endif
#if 0
#if 0
#define DEBUGP(format, args...) printk(
__FILE__ ":" __FUNCTION__ ": "
\
#define DEBUGP(format, args...) printk(
"%s:%s:" format,
\
format
, ## args)
__FILE__, __FUNCTION__
, ## args)
#else
#else
#define DEBUGP(format, args...)
#define DEBUGP(format, args...)
#endif
#endif
...
...
net/ipv4/netfilter/ipt_ULOG.c
View file @
7ae47691
...
@@ -64,13 +64,13 @@ MODULE_DESCRIPTION("iptables userspace logging module");
...
@@ -64,13 +64,13 @@ MODULE_DESCRIPTION("iptables userspace logging module");
#define ULOG_MAXNLGROUPS 32
/* numer of nlgroups */
#define ULOG_MAXNLGROUPS 32
/* numer of nlgroups */
#if 0
#if 0
#define DEBUGP(format, args...)
printk(__FILE__ ":" __FUNCTION__ ":"
\
#define DEBUGP(format, args...)
printk("%s:%s:" format,
\
format
, ## args)
__FILE__, __FUNCTION__
, ## args)
#else
#else
#define DEBUGP(format, args...)
#define DEBUGP(format, args...)
#endif
#endif
#define PRINTR(format, args...) do { if (net_ratelimit()) printk(format, ## args); } while (0)
#define PRINTR(format, args...) do { if (net_ratelimit()) printk(format
, ## args); } while (0)
static
unsigned
int
nlbufsiz
=
4096
;
static
unsigned
int
nlbufsiz
=
4096
;
MODULE_PARM
(
nlbufsiz
,
"i"
);
MODULE_PARM
(
nlbufsiz
,
"i"
);
...
...
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