linux_dsm_epyc7002/drivers/net/wireless/intel/iwlwifi/mvm
Emmanuel Grumbach 43d59a4ce7 iwlwifi: mvm: don't call << operator with a negative value
In https://bugzilla.kernel.org/show_bug.cgi?id=177341 Bob
reported a UBSAN WARNING on rs.c in iwldvm.
Fix the same bug in iwlmvm.

This because
	i = index - 1;
	for (mask = (1 << i); i >= 0; i--, mask >>= 1)

is unsafe: i could be negative and hence we can call <<
on a negative value.
This bug doesn't have any real impact since the condition
of the for loop will prevent any usage of mask.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=177341
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2017-02-08 17:54:21 +02:00
..
binding.c
coex.c
constants.h
d3.c iwlwifi: mvm: fix D3 replay counter value 2017-02-03 16:26:42 +02:00
debugfs-vif.c Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2016-10-10 13:04:49 -07:00
debugfs.c iwlwifi: mvm: mark ret as maybe_unused in iwl_dbgfs_fw_restart_write() 2017-01-26 09:39:02 +02:00
debugfs.h
fw-api-coex.h
fw-api-d3.h
fw-api-mac.h iwlwifi: mvm: support new statistics APIs 2017-02-03 16:26:39 +02:00
fw-api-power.h iwlwifi: remove support for fw older than -17 and -22 2016-09-26 23:15:14 +03:00
fw-api-rs.h
fw-api-rx.h iwlwifi: mvm: use firmware station PM notification for AP_LINK_PS 2016-10-19 12:46:32 +03:00
fw-api-scan.h iwlwifi: mvm: support new scan API 2017-02-03 16:26:40 +02:00
fw-api-sta.h iwlwifi: mvm: use firmware station PM notification for AP_LINK_PS 2016-10-19 12:46:32 +03:00
fw-api-stats.h iwlwifi: mvm: support new statistics APIs 2017-02-03 16:26:39 +02:00
fw-api-tof.h
fw-api-tx.h iwlwifi: mvm: support new beacon template command 2017-02-06 19:19:27 +02:00
fw-api.h iwlwifi: mvm: support new alive notification 2017-02-03 16:26:41 +02:00
fw-dbg.c iwlwifi: mvm: synchronize firmware DMA paging memory 2017-02-03 16:26:42 +02:00
fw-dbg.h
fw.c iwlwifi: mvm: synchronize firmware DMA paging memory 2017-02-03 16:26:42 +02:00
led.c
mac80211.c iwlwifi: mvm: release static queues on bcast release 2017-02-06 19:19:23 +02:00
mac-ctxt.c iwlwifi: mvm: support new beacon template command 2017-02-06 19:19:27 +02:00
Makefile Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
mvm.h iwlwifi: mvm: support new alive notification 2017-02-03 16:26:41 +02:00
nvm.c iwlwifi: move BIOS MCC retrieval to common code 2016-09-19 10:09:37 +03:00
offloading.c
ops.c iwlwifi: mvm: support unification of INIT and RT images 2017-02-03 16:26:38 +02:00
phy-ctxt.c
power.c iwlwifi: mvm: cleanup incorrect and redundant define 2017-02-03 16:26:39 +02:00
quota.c
rs.c iwlwifi: mvm: don't call << operator with a negative value 2017-02-08 17:54:21 +02:00
rs.h
rx.c iwlwifi: mvm: support new statistics APIs 2017-02-03 16:26:39 +02:00
rxmq.c iwlwifi: mvm: fix reorder timer re-arming 2017-02-08 12:55:32 +02:00
scan.c iwlwifi: mvm: support new scan API 2017-02-03 16:26:40 +02:00
sf.c
sta.c iwlwifi: mvm: fix pending frame counter calculation 2017-02-06 19:19:23 +02:00
sta.h iwlwifi: mvm: set AID to firmware only for associated stations 2017-02-03 16:26:43 +02:00
tdls.c
testmode.h
time-event.c
time-event.h
tof.c
tof.h
tt.c iwlwifi: remove support for fw older than -17 and -22 2016-09-26 23:15:14 +03:00
tx.c iwlwifi: mvm: use the PROBE_RESP_QUEUE to send deauth to unknown station 2017-02-08 12:55:32 +02:00
utils.c iwlwifi: mvm: release static queues on bcast release 2017-02-06 19:19:23 +02:00