From: Johannes Berg Date: Mon, 28 Oct 2013 18:29:38 +0000 (+0100) Subject: iwlwifi: transport config n_no_reclaim_cmds should be unsigned X-Git-Tag: accepted/tizen/common/20141203.182822~719^2~3^2^2~305^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=84cf0e620705e124e209e04ad55d2d6460b12188;p=platform%2Fkernel%2Flinux-arm64.git iwlwifi: transport config n_no_reclaim_cmds should be unsigned The number of commands can never be negative, so it should be using an unsigned type. This also shuts up an smatch warning elsewhere in the code. Signed-off-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.h b/drivers/net/wireless/iwlwifi/iwl-trans.h index dd57a36..2dc64b5 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans.h +++ b/drivers/net/wireless/iwlwifi/iwl-trans.h @@ -344,7 +344,7 @@ struct iwl_trans_config { u8 cmd_queue; u8 cmd_fifo; const u8 *no_reclaim_cmds; - int n_no_reclaim_cmds; + unsigned int n_no_reclaim_cmds; bool rx_buf_size_8k; bool bc_table_dword;