Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1626132

Re: ath9k: Add cast to u8 to FREQ2FBIN macro

From Kalle Valo <kvalo@qca.qualcomm.com>
Newsgroups linux.kernel
Subject Re: ath9k: Add cast to u8 to FREQ2FBIN macro
Date 2017-04-19 16:10 +0200
Message-ID <txYsV-4oW-13@gated-at.bofh.it> (permalink)
References <ttn8B-6iF-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Matthias Kaehlcke <mka@chromium.org> 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@chromium.org>

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: ath9k: Add cast to u8 to FREQ2FBIN macro Kalle Valo <kvalo@qca.qualcomm.com> - 2017-04-19 16:10 +0200

csiph-web