[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1325781045.22154.15.camel@joe2Laptop>
Date: Thu, 05 Jan 2012 08:30:45 -0800
From: Joe Perches <joe@...ches.com>
To: David Laight <David.Laight@...LAB.COM>
Cc: Kalle Valo <kvalo@....qualcomm.com>, linville@...driver.com,
sfr@...b.auug.org.au, netdev@...r.kernel.org,
linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-next@...r.kernel.org, ath6kl-devel@...lcomm.com,
davem@...emloft.net
Subject: RE: [PATCH 5/6] ath6kl: convert ath6kl_dbg() and ath6kl_dbg_dump()
into functions
On Thu, 2012-01-05 at 10:41 +0000, David Laight wrote:
> > > + 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists