Search Linux Wireless

Re: [PATCH] wifi: mt76: mt7915: workaround too long expansion sparse warnings

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

 



On Tue, 2024-03-19 at 16:12 +0100, Lorenzo Bianconi wrote:
> 
> +	pwr = max3(pwr80, pwr40, pwr20);
> +	mphy->txpower_cur = max3(mphy->txpower_cur, pwr160, pwr);
> 

Oh nice, I didn't know about max3, I had a different patch at some point
to just chain the max() with extra variables :)

johannes





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux