From: Eyal Shapira Date: Mon, 23 Dec 2013 14:26:41 +0000 (+0200) Subject: iwlwifi: mvm: rs: fix a potential NULL deref X-Git-Tag: v3.14-rc1~94^2~238^2^2~83^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80e9e5cd265af43cc51948125317c40f0988013b;p=pandora-kernel.git iwlwifi: mvm: rs: fix a potential NULL deref Found by klocwork analysis. mvm could be NULL which may cause a NULL dereference in a theoretical call flow rs_fill_lq_cmd(mvm = NULL, ...) rs_build_rates_table rs_fill_rates_for_column ucode_rate_from_rs_rate IWL_ERR(mvm,...) No real reason for passing NULL to rs_fill_lq_cmd so fix that. Reported-by: Eytan Lifshitz Signed-off-by: Eyal Shapira Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed