android_kernel_sony_sdm845/techpack
Repository files (latest commit first)
Filename Latest commit message Latest commit date
shagbag913 8c99743127 ASoC: fix snprintf size arguments
../techpack/audio/asoc/codecs/wsa881x.c:392:9: error: 'snprintf' size argument is too large; destination buffer has size 20, but size argument is 25 [-Werror,-Wfortify-source]
                len = snprintf(tmp_buf, 25, "0x%.3x: 0x%.2x\n", i,
                      ^
1 error generated.

The warnings are correct. Fix the size arguments by only allowing the
amount of bytes that the size of the char arrays are.

Signed-off-by: shagbag913 <sh4gbag913@gmail.com>
Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
Change-Id: I31366b5cd2f13f6d168111a4b0a2f013bd6b92f7
2021-01-17 05:14:18 +02:00
..
audio ASoC: fix snprintf size arguments 2021-01-17 05:14:18 +02:00
stub
Kbuild techpack: Hardcode modules list 2020-06-30 02:45:04 +03:00
Kconfig techpack: audio: Construct and add audio techpack Kconfig to build 2020-06-30 02:48:34 +03:00