Skip to content

Commit

Permalink
iwlwifi: transport config n_no_reclaim_cmds should be unsigned
Browse files Browse the repository at this point in the history
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 <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
  • Loading branch information
Johannes Berg authored and Emmanuel Grumbach committed Oct 29, 2013
1 parent e8e626a commit 84cf0e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/iwlwifi/iwl-trans.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 84cf0e6

Please sign in to comment.