aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorSu Hui <[email protected]>2024-09-11 11:54:50 +0000
committerMark Brown <[email protected]>2024-09-11 12:59:26 +0000
commit38cc0334baabc5baf08a1db753de521e016c0432 (patch)
treed0fee5ef9ab04a4383ded4134da81bae1008e312 /lib/crypto/mpi/mpi-mul.c
parentMAINTAINERS: update Pierre Bossart's email and role (diff)
downloadkernel-38cc0334baabc5baf08a1db753de521e016c0432.tar.gz
kernel-38cc0334baabc5baf08a1db753de521e016c0432.zip
ASoC: codecs: avoid possible garbage value in peb2466_reg_read()
Clang static checker (scan-build) warning: sound/soc/codecs/peb2466.c:232:8: Assigned value is garbage or undefined [core.uninitialized.Assign] 232 | *val = tmp; | ^ ~~~ When peb2466_read_byte() fails, 'tmp' will have a garbage value. Add a judgemnet to avoid this problem. Fixes: 227f609c7c0e ("ASoC: codecs: Add support for the Infineon PEB2466 codec") Signed-off-by: Su Hui <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions