Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203915
b: refs/heads/master
c: 903c99d
h: refs/heads/master
i:
  203913: 279a303
  203911: cfbe85c
v: v3
  • Loading branch information
Joe Perches authored and John W. Linville committed Jul 27, 2010
1 parent c0b8dde commit af46eb4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c96c31e499b70964cfc88744046c998bb710e4b8
refs/heads/master: 903c99d8d6d055c56e7fdfba4602c05e357fa186
29 changes: 13 additions & 16 deletions trunk/drivers/net/wireless/at76c50x-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,22 +89,19 @@
#define DBG_DEFAULTS 0

/* Use our own dbg macro */
#define at76_dbg(bits, format, arg...) \
do { \
if (at76_debug & (bits)) \
printk(KERN_DEBUG DRIVER_NAME ": " format "\n" , \
## arg); \
} while (0)

#define at76_dbg_dump(bits, buf, len, format, arg...) \
do { \
if (at76_debug & (bits)) { \
printk(KERN_DEBUG DRIVER_NAME ": " format "\n" , \
## arg); \
print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, \
buf, len); \
} \
} while (0)
#define at76_dbg(bits, format, arg...) \
do { \
if (at76_debug & (bits)) \
printk(KERN_DEBUG DRIVER_NAME ": " format "\n", ##arg); \
} while (0)

#define at76_dbg_dump(bits, buf, len, format, arg...) \
do { \
if (at76_debug & (bits)) { \
printk(KERN_DEBUG DRIVER_NAME ": " format "\n", ##arg); \
print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, buf, len); \
} \
} while (0)

static uint at76_debug = DBG_DEFAULTS;

Expand Down

0 comments on commit af46eb4

Please sign in to comment.