From: Luca Coelho Date: Thu, 22 Feb 2018 12:50:06 +0000 (+0200) Subject: iwlwifi: make bitfield a u32 instead of u16 X-Git-Tag: v4.19~872^2~217^2~41^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c3039b10df74818bdd1d7e9d2b8706c855c4394b;p=platform%2Fkernel%2Flinux-rpi.git iwlwifi: make bitfield a u32 instead of u16 The bitfield we use in struct iwl_cfg contains 17 bits, but we declare it as u16. The compiler doesn't seem to have any problems with that (it probably automatically makes it u32), but it's cleaner to use a type that is long enough for all the flags. Signed-off-by: Luca Coelho --- diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-config.h b/drivers/net/wireless/intel/iwlwifi/iwl-config.h index cfd14e5..c503b26 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-config.h +++ b/drivers/net/wireless/intel/iwlwifi/iwl-config.h @@ -420,7 +420,7 @@ struct iwl_cfg { u32 soc_latency; u16 nvm_ver; u16 nvm_calib_ver; - u16 rx_with_siso_diversity:1, + u32 rx_with_siso_diversity:1, bt_shared_single_ant:1, internal_wimax_coex:1, host_interrupt_operation_mode:1,