Search Linux Wireless

Re: [PATCH] ath5k: consistent info and error logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2007-11-16 at 15:17 +0200, Kalle Valo wrote:
> Johannes Berg <johannes@xxxxxxxxxxxxxxxx> writes:
> 
> >> +#define AR5K_INFO(_sc, _fmt, ...)	\
> >> +	printk(KERN_INFO "ath5k %s: " _fmt, wiphy_name((_sc)->hw->wiphy), ##__VA_ARGS__)
> >
> > Eww. Can't you make them static inlines?
> 
> Wasn't it so that a inline function with va_args is not possible? 

Hmm. That might be true. How about just using dev_dbg? Not that I really
ever need to look into ath5k (hopefully!), but the code just struck me
as not very nice.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux