]> bbs.cooldavid.org Git - net-next-2.6.git/commit
net: Fix definition of netif_vdbg() when VERBOSE_DEBUG is defined
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 2 Jul 2010 07:08:44 +0000 (07:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jul 2010 03:08:05 +0000 (20:08 -0700)
commitbcfcc450baaaa44afc1d3c51ef96a53338ff0eb2
tree123a988524aec67145c9b6becfdd6d5993525e87
parent3390712a474abdcd3de10024dd1062e5928d381c
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>
include/linux/netdevice.h