summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2018-11-05 11:07:58 +0200
committerLuca Coelho <luciano.coelho@intel.com>2019-01-29 16:10:30 +0200
commit94a8d87c47642bc0b99f1c9204b111b5826f1838 (patch)
tree4571156a5de04460c5da66ee228b8898cd058f98 /drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c
parente78da25e19c2dd31018c358d0717e4f6cfe317c8 (diff)
downloadlinux-94a8d87c47642bc0b99f1c9204b111b5826f1838.tar.bz2
iwlwifi: mvm: pre-initialize alive_data in wait_alive()
The function we pass to the wait alive notification procedure may may not even get called if the timeout occurs before the function is called. To prevent accessing unitialized data in alive_data, pre-set it to zero in the declaration. Found by static analyzers. Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c')
0 files changed, 0 insertions, 0 deletions