diff options
author | Xiaojun Sang <xsang@codeaurora.org> | 2019-10-21 10:54:32 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-10-21 13:50:19 +0100 |
commit | d3645b055399538415586ebaacaedebc1e5899b0 (patch) | |
tree | 8d21588f6f1029f0025890ab5dd185d2d8aa8ec6 /sound/firewire/oxfw/oxfw-spkr.c | |
parent | 9110d1b0e229cebb1ffce0c04db2b22beffd513d (diff) |
ASoC: compress: fix unsigned integer overflow check
Parameter fragments and fragment_size are type of u32. U32_MAX is
the correct check.
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20191021095432.5639-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/firewire/oxfw/oxfw-spkr.c')
0 files changed, 0 insertions, 0 deletions