summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-05-21 18:45:15 -0700
committerMark Brown <broonie@kernel.org>2026-06-01 14:59:59 +0100
commit6c52e58dbdaed2eea6cd10461e6b7fb3de4c99d5 (patch)
tree8cc70b76db5410d35a739a519019b18782db3991 /include/linux/debugobjects.h
parent98d08b2e0e92ea39ac6743dcfdda1af676514c4b (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/debugobjects.h')
0 files changed, 0 insertions, 0 deletions