diff options
author | Dan Carpenter <[email protected]> | 2017-12-08 14:54:25 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2017-12-11 11:43:15 +0000 |
commit | 87684d338a22d15e47b16ee68f569d74ad1d076e (patch) | |
tree | 26ad02718d44718aac966527aca866cbd2ad092a /tools/perf/scripts/python/Perf-Trace-Util | |
parent | 9452314d92d600e8702533b10f10ec440aad5db9 (diff) |
ASoC: Intel: Skylake: Re-order some code to silence a warning
I get a Smatch warning here:
sound/soc/intel/skylake/skl-nhlt.c:335 skl_get_ssp_clks()
error: testing array offset 'j' after use.
The code is harmless, but the checker is right that we should swap these
two conditions so we verify that the offset is within bounds before we
use it.
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Sriram Periyasamy <[email protected]>
Acked-By: Vinod Koul <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions