diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-05-21 18:45:15 -0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-06-01 14:59:59 +0100 |
| commit | 6c52e58dbdaed2eea6cd10461e6b7fb3de4c99d5 (patch) | |
| tree | 8cc70b76db5410d35a739a519019b18782db3991 /include/linux/timerqueue.h | |
| parent | 98d08b2e0e92ea39ac6743dcfdda1af676514c4b (diff) | |
ASoC: mediatek: mt2701: fix snprintf bounds
For whatever reason, GCC is unable to figure out that i2s_num is a
single digit number, with MT2701_BASE_CLK_NUM being the maximum value it
represents. Add a min() call to help it out and fix W=1 errors regarding
snprintf bounds.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260522014515.719973-1-rosenp@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
