Re: ath9k: Add cast to u8 to FREQ2FBIN macro

From: Kalle Valo
Date: Wed Apr 19 2017 - 10:01:44 EST


Matthias Kaehlcke <mka@xxxxxxxxxxxx> wrote:
> The macro results are assigned to u8 variables/fields. Adding the cast
> fixes plenty of clang warnings about "implicit conversion from 'int' to
> 'u8'".
>
> Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>

Patch applied to ath-next branch of ath.git, thanks.

627871b71c89 ath9k: Add cast to u8 to FREQ2FBIN macro

--
https://patchwork.kernel.org/patch/9668479/

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