]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ath9k: Add cast to u8 to FREQ2FBIN macro
authorMatthias Kaehlcke <mka@chromium.org>
Thu, 6 Apr 2017 21:21:35 +0000 (14:21 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 19 Apr 2017 14:00:48 +0000 (17:00 +0300)
commit627871b71c89a6ec12fbed75063f238e0c7127b2
tree6efa2f5c62e84c0dadf672d34ef5b638dba16ced
parent050fd820dc177a77f6f74a152db22fff25a35032
ath9k: Add cast to u8 to FREQ2FBIN macro

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>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/eeprom.h