summaryrefslogtreecommitdiffstats
path: root/drivers/clk/hisilicon
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2022-05-20 01:31:26 +0300
committerMark Brown <broonie@kernel.org>2022-05-20 13:43:10 +0100
commitf7a344468105ef8c54086dfdc800e6f5a8417d3e (patch)
tree999d00070549f90d6e8f757aabd6bcf346265b55 /drivers/clk/hisilicon
parentaffa9983e7cbac8cbe2596975efacdbdf0eb18e9 (diff)
downloadlinux-f7a344468105ef8c54086dfdc800e6f5a8417d3e.tar.gz
linux-f7a344468105ef8c54086dfdc800e6f5a8417d3e.tar.bz2
linux-f7a344468105ef8c54086dfdc800e6f5a8417d3e.zip
ASoC: max98090: Move check for invalid values before casting in max98090_put_enab_tlv()
Validation of signed input should be done before casting to unsigned int. Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Suggested-by: Mark Brown <broonie@kernel.org> Fixes: 2fbe467bcbfc ("ASoC: max98090: Reject invalid values in custom control put()") Link: https://lore.kernel.org/r/1652999486-29653-1-git-send-email-khoroshilov@ispras.ru Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/clk/hisilicon')
0 files changed, 0 insertions, 0 deletions