Search Linux Wireless

Re: [PATCH] ath10k: Fix compilation warnings in wmi phyerr pull function

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

 



Raja Mani <rmani@xxxxxxxxxxxxxxxx> writes:

> Below compilation warnings are observed in gcc version 4.8.2.
> Even though it's not seen in bit older gcc versions (for ex, 4.7.3),
> It's good to fix it by changing format specifier from %d to
> %zd in wmi pull phyerr functions.
>
> wmi.c: In function 'ath10k_wmi_op_pull_phyerr_ev':
> wmi.c:3567:8: warning: format '%d' expects argument of type 'int',
>               but argument 4 has type 'long unsigned int' [-Wformat=]
>               left_len, sizeof(*phyerr));
>                         ^
> wmi.c: In function 'ath10k_wmi_10_4_op_pull_phyerr_ev':
> wmi.c:3612:8: warning: format '%d' expects argument of type 'int',
> 	      but argument 4 has type 'long unsigned int' [-Wformat=]
>               left_len, sizeof(*phyerr));
>                         ^
> Fixes: 991adf71a6cd ("ath10k: refactor phyerr event handlers")
> Fixes: 2b0a2e0d7c2f ("ath10k: handle 10.4 firmware phyerr event")
>
> Signed-off-by: Raja Mani <rmani@xxxxxxxxxxxxxxxx>

Thanks, applied.

-- 
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux