summaryrefslogtreecommitdiffstats
path: root/sound/sparc
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2018-06-18 09:53:36 +0200
committerLuca Coelho <luciano.coelho@intel.com>2018-10-06 10:25:50 +0300
commit76dd61d2c57e881020cd2ea61994bf2dc8aefd84 (patch)
tree2aad372275e3e130adc2f77afc6481190be4ec95 /sound/sparc
parente7eeee08434873c2f781dc1afaa42b03a014b95d (diff)
downloadblackbird-obmc-linux-76dd61d2c57e881020cd2ea61994bf2dc8aefd84.tar.gz
blackbird-obmc-linux-76dd61d2c57e881020cd2ea61994bf2dc8aefd84.zip
iwlwifi: pcie gen2: check iwl_pcie_gen2_set_tb() return value
If we use the iwl_pcie_gen2_set_tb() return value for BIT(), we should validate that it's not going to be negative, so do the check and bail out if we hit an error. We shouldn't, as we check if it'll fit beforehand, but better be safe. Fixes: ab6c644539e9 ("iwlwifi: pcie: copy TX functions to new transport") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'sound/sparc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud