]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: mvm: fix theoretical uninitialized function return value
authorEytan Lifshitz <eytan.lifshitz@intel.com>
Tue, 7 Jan 2014 10:50:45 +0000 (12:50 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 13 Jan 2014 20:17:20 +0000 (22:17 +0200)
commit05159fccf21cde603f7be8815a94ac85e9c0f245
tree216d8ddedf43ec968bde45068e06db6f90c6d797
parent65b30348dbf9b529901b5c2b62dca6cad9017a2a
iwlwifi: mvm: fix theoretical uninitialized function return value

If we try to write NVM that do not exist, the function will return
uninitialized value. fixed.

Signed-off-by: Eytan Lifshitz <eytan.lifshitz@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/nvm.c