diff options
author | Simon Horman <horms@verge.net.au> | 2008-10-06 17:40:11 -0400 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-10-06 17:40:11 -0400 |
commit | a5e8546a8bff5d2047adc279df5753c44ba7b1a1 (patch) | |
tree | d9ca91f74d8279adbb1d3e942cc7ab145780ee29 /drivers/net/pci-skeleton.c | |
parent | cb7f6a7b716e801097b564dec3ccb58d330aef56 (diff) | |
parent | c7004482e8dcb7c3c72666395cfa98a216a4fb70 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 into lvs-next-2.6
Diffstat (limited to 'drivers/net/pci-skeleton.c')
-rw-r--r-- | drivers/net/pci-skeleton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pci-skeleton.c b/drivers/net/pci-skeleton.c index 53451c3b2c0d..0a575fef29e6 100644 --- a/drivers/net/pci-skeleton.c +++ b/drivers/net/pci-skeleton.c | |||
@@ -119,7 +119,7 @@ KERN_INFO " Support available from http://foo.com/bar/baz.html\n"; | |||
119 | 119 | ||
120 | #ifdef NETDRV_DEBUG | 120 | #ifdef NETDRV_DEBUG |
121 | /* note: prints function name for you */ | 121 | /* note: prints function name for you */ |
122 | # define DPRINTK(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __FUNCTION__ , ## args) | 122 | # define DPRINTK(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __func__ , ## args) |
123 | #else | 123 | #else |
124 | # define DPRINTK(fmt, args...) | 124 | # define DPRINTK(fmt, args...) |
125 | #endif | 125 | #endif |
@@ -130,7 +130,7 @@ KERN_INFO " Support available from http://foo.com/bar/baz.html\n"; | |||
130 | # define assert(expr) \ | 130 | # define assert(expr) \ |
131 | if(!(expr)) { \ | 131 | if(!(expr)) { \ |
132 | printk( "Assertion failed! %s,%s,%s,line=%d\n", \ | 132 | printk( "Assertion failed! %s,%s,%s,line=%d\n", \ |
133 | #expr,__FILE__,__FUNCTION__,__LINE__); \ | 133 | #expr,__FILE__,__func__,__LINE__); \ |
134 | } | 134 | } |
135 | #endif | 135 | #endif |
136 | 136 | ||