diff options
author | Joe Perches <joe@perches.com> | 2010-02-05 20:51:13 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 17:54:59 -0500 |
commit | f45ba776da4fe6c9a9eddd42b0fd5d1f15c260f3 (patch) | |
tree | d830c5552433b85caf93c72cae31ea67d45c330b /drivers/usb/serial/omninet.c | |
parent | 759f3634267a67ac90f3fa7fc06510dfd43b4e45 (diff) |
USB: Convert concatenated __FILE__ to %s, __FILE__
Reduces string space a bit
Neaten a macro redefine of dbg
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/omninet.c')
-rw-r--r-- | drivers/usb/serial/omninet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/omninet.c b/drivers/usb/serial/omninet.c index 7793c4ada038..89c724c0ac0a 100644 --- a/drivers/usb/serial/omninet.c +++ b/drivers/usb/serial/omninet.c | |||
@@ -218,8 +218,8 @@ static void omninet_read_bulk_callback(struct urb *urb) | |||
218 | 218 | ||
219 | if (debug && header->oh_xxx != 0x30) { | 219 | if (debug && header->oh_xxx != 0x30) { |
220 | if (urb->actual_length) { | 220 | if (urb->actual_length) { |
221 | printk(KERN_DEBUG __FILE__ | 221 | printk(KERN_DEBUG "%s: omninet_read %d: ", |
222 | ": omninet_read %d: ", header->oh_len); | 222 | __FILE__, header->oh_len); |
223 | for (i = 0; i < (header->oh_len + | 223 | for (i = 0; i < (header->oh_len + |
224 | OMNINET_HEADERLEN); i++) | 224 | OMNINET_HEADERLEN); i++) |
225 | printk("%.2x ", data[i]); | 225 | printk("%.2x ", data[i]); |