Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 222080
b: refs/heads/master
c: 106665d
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and Dominik Brodowski committed Nov 10, 2010
1 parent 980edf5 commit 7558c4d
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: 86f94e3a1583765476ec06131c755af8318e6470
refs/heads/master: 106665d937df6eff33c71997a52f7bc3aefa6c12
9 changes: 7 additions & 2 deletions trunk/drivers/pcmcia/soc_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,16 @@ module_param(pc_debug, int, 0644);
void soc_pcmcia_debug(struct soc_pcmcia_socket *skt, const char *func,
int lvl, const char *fmt, ...)
{
struct va_format vaf;
va_list args;
if (pc_debug > lvl) {
printk(KERN_DEBUG "skt%u: %s: ", skt->nr, func);
va_start(args, fmt);
vprintk(fmt, args);

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

printk(KERN_DEBUG "skt%u: %s: %pV", skt->nr, func, &vaf);

va_end(args);
}
}
Expand Down

0 comments on commit 7558c4d

Please sign in to comment.