Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224559
b: refs/heads/master
c: 7e559ec
h: refs/heads/master
i:
  224557: 23ad392
  224555: cd3dd3c
  224551: 6d16413
  224543: b7ead28
v: v3
  • Loading branch information
Joe Perches authored and John W. Linville committed Nov 16, 2010
1 parent c13c2d0 commit 5807d4c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: 5cb56af29be8d12f74afcb2c1de91e51a577bd52
refs/heads/master: 7e559ec31c5625cf85bcb1ae0eb9f8f2a8da4a29
9 changes: 7 additions & 2 deletions trunk/drivers/net/wireless/ath/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,19 @@

void ath_print(struct ath_common *common, int dbg_mask, const char *fmt, ...)
{
struct va_format vaf;
va_list args;

if (likely(!(common->debug_mask & dbg_mask)))
return;

va_start(args, fmt);
printk(KERN_DEBUG "ath: ");
vprintk(fmt, args);

vaf.fmt = fmt;
vaf.va = &args;

printk(KERN_DEBUG "ath: %pV", &vaf);

va_end(args);
}
EXPORT_SYMBOL(ath_print);
Expand Down

0 comments on commit 5807d4c

Please sign in to comment.