Search Linux Wireless

Re: [PATCH v2 01/16] wifi: iwlwifi: fw: increase fw_version string size

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

 



gregory.greenman@xxxxxxxxx writes:

> From: Gregory Greenman <gregory.greenman@xxxxxxxxx>
>
> In reality 64 bytes are enough to hold fw version string,
> but some compilers can complain (with W=1) that output may be
> truncated when building this string with snprintf.
> Increase the size to avoid this sort of warnings and state
> explicitely that we want the size to be trancated to 32 bytes.
>
> Signed-off-by: Gregory Greenman <gregory.greenman@xxxxxxxxx>

Thanks, I don't see warnings from iwlwifi anymore.

Tested-by: Kalle Valo <kvalo@xxxxxxxxxx>

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



[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