Thread (13 messages) 13 messages, 3 authors, 2012-01-05

RE: [PATCH 5/6] ath6kl: convert ath6kl_dbg() and ath6kl_dbg_dump() into functions

From: Joe Perches <joe@perches.com>
Date: 2012-01-05 16:30:50
Also in: linux-next, lkml, netdev

On Thu, 2012-01-05 at 10:41 +0000, David Laight wrote:
quoted
quoted
+	va_start(args, fmt);
+	ath6kl_printk(KERN_DEBUG, fmt, &args);
Passing a va_list as an argument?
I believe this doesn't work.
I think you'll need to add and use:
Passing a va_list certainly does work - vprintf() etc.
What is problematical is taking the address of a va_list.
Nope.  This referred to this specific instance.
Taking the address of a va_list works fine.
Look at the provide example.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help