aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorVijendar Mukunda <[email protected]>2023-06-26 16:23:54 +0530
committerMark Brown <[email protected]>2023-06-26 13:29:01 +0100
commit85aeab362201cf52c34cd429e4f6c75a0b42f9a3 (patch)
tree6727c5354668c09549681674fc38d955ac918fa0 /lib/test_fortify/write_overflow-strlcpy-src.c
parent68a653ab864ccf7874fe622f3af20fe7345c39be (diff)
ASoC: amd: acp: fix for invalid dai id handling in acp_get_byte_count()
For invalid dai id, instead of returning -EINVAL return bytes count as zero in acp_get_byte_count() function. Fixes: 623621a9f9e1 ("ASoC: amd: Add common framework to support I2S on ACP SOC") Signed-off-by: Vijendar Mukunda <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions