diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-07-02 03:08:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-05 23:08:05 -0400 |
commit | bcfcc450baaaa44afc1d3c51ef96a53338ff0eb2 (patch) | |
tree | 123a988524aec67145c9b6becfdd6d5993525e87 /include | |
parent | 3390712a474abdcd3de10024dd1062e5928d381c (diff) |
net: Fix definition of netif_vdbg() when VERBOSE_DEBUG is defined
netif_vdbg() was originally defined as entirely equivalent to
netdev_vdbg(), but I assume that it was intended to take the same
parameters as netif_dbg() etc. (Currently it is only used by the
sfc driver, in which I worked on that assumption.)
In commit a4ed89c I changed the definition used when VERBOSE_DEBUG is
not defined, but I failed to notice that the definition used when
VERBOSE_DEBUG is defined was also not as I expected. Change that to
match netif_dbg() as well.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 5e6188d9f017..b21e4054c12c 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -2332,7 +2332,7 @@ do { \ | |||
2332 | #endif | 2332 | #endif |
2333 | 2333 | ||
2334 | #if defined(VERBOSE_DEBUG) | 2334 | #if defined(VERBOSE_DEBUG) |
2335 | #define netif_vdbg netdev_dbg | 2335 | #define netif_vdbg netif_dbg |
2336 | #else | 2336 | #else |
2337 | #define netif_vdbg(priv, type, dev, format, args...) \ | 2337 | #define netif_vdbg(priv, type, dev, format, args...) \ |
2338 | ({ \ | 2338 | ({ \ |