Re: [Patch] Staging: winbond: Macros values enclosed in parenthesis

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

 



On Tue, May 28, 2013 at 10:09:07AM +0530, Harsh Kumar wrote:
> Macros with complex values enclosed in parenthesis

What does that mean?

> -#define MTO_CNT_ANT(x)			MTO_DATA().Cnt_Ant[(x)]
> -#define MTO_SQ_ANT(x)			MTO_DATA().SQ_Ant[(x)]
> -#define MTO_AGING_TIMEOUT()		MTO_DATA().aging_timeout
> +#define MTO_POWER_CHANGE_ENABLE()	(MTO_DATA().PowerChangeEnable)
> +#define MTO_CCA_MODE()			(MTO_DATA().CCA_Mode)

These are not "complex" values at all, this patch isn't needed,
checkpatch needs to be fixed to not complain about it.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux