Thread (9 messages) flat view 9 messages, 3 authors, 2012-09-21

Re: [PATCH v2] USB: remove dbg() usage in USB networking drivers

From: David Miller <davem@davemloft.net>
Date: 2012-09-20 21:53:40
Also in: lkml

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Wed, 19 Sep 2012 20:46:14 +0100
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

The dbg() USB macro is so old, it predates me.  The USB networking drivers are
the last hold-out using this macro, and we want to get rid of it, so replace
the usage of it with the proper netdev_dbg() or dev_dbg() (depending on the
context) calls.

Some places we end up using a local variable for the debug call, so also
convert the other existing dev_* calls to use it as well, to save tiny amounts
of code space.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
v2: Addressed review comments from Joe Perches

Again, I am glad to take this in the usb-next tree if wanted, whatever is
easiest.
I'll take this into net-next, applied, thanks Greg.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help