From: Johannes Berg Date: Mon, 13 May 2013 19:44:42 +0000 (+0200) Subject: iwlwifi: mvm: fix NVM parsing error path X-Git-Tag: v3.11-rc1~16^2~103^2^2~42^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82598b4f43312c01b976e02add9a5205e371f858;p=pandora-kernel.git iwlwifi: mvm: fix NVM parsing error path If NVM parsing fails and returns NULL, we continue in the code flow and eventually crash accessing the NULL pointer. Return an error from iwl_nvm_init() if the parsing failed. Reviewed-by: Emmanuel Grumbach Signed-off-by: Johannes Berg --- Reading git-diff-tree failed