summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/ti-ads8688.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-03-05 14:16:27 +0200
committerJohannes Berg <johannes.berg@intel.com>2023-03-07 20:15:18 +0100
commitb85f7ebb24974e016520b5ea39394ab4cb08af0c (patch)
tree5fded725a158fb70115f572c5772b0b2472bfede /drivers/iio/adc/ti-ads8688.c
parent5abf31544a4d2bcb3a0dd2fd080f9448d4026975 (diff)
wifi: iwlwifi: mvm: avoid UB shift of snif_queue
For the old TX API we need the tfd_queue_msk, but for the new TX API we don't need it here because we add it to the station later. However, for the new API mvm->snif_queue is set to IWL_MVM_INVALID_QUEUE == 0xffff, so the BIT() here is undefined behaviour. Since we don't need the tfd_queue_msk value for the new TX API at all, simply fill it in only for the old API. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230305124407.b8da0b7eb194.I53744fd7cfb6e146a9393272a2a61852841238d9@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/iio/adc/ti-ads8688.c')
0 files changed, 0 insertions, 0 deletions