diff options
| author | Nathan Chancellor <natechancellor@gmail.com> | 2019-09-28 18:43:44 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2020-02-02 01:41:08 +0200 |
| commit | 8099b2c2cec5fc8750c9bd63e178d389b8cb45cb (patch) | |
| tree | 683eabd7a69c09059a2dee52f998f1025b528720 /crypto/algapi.c | |
| parent | f0fc0c35e084c99f1101b4332700493ad66b33c4 (diff) | |
ASoC: wsa881x: Fix buffer overflow in wsa881x_swrslave_reg_show
Clang warns:
../sound/soc/codecs/wsa881x.c:365:9: warning: 'snprintf' size argument
is too large; destination buffer has size 20, but size argument is 25
[-Wfortify-source]
len = snprintf(tmp_buf, 25, "0x%.3x: 0x%.2x\n", i,
^
1 warning generated.
Fixes: 03f5d7efe220 ("ASoC: wcd: Add Audio codec drivers for MSM targets")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions
