aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-04-30 23:34:51 +0900
committerMark Brown <broonie@kernel.org>2024-04-30 23:34:51 +0900
commit228132b4d848cf4318f7df8b9c0ad39e22ca6039 (patch)
treeecef69770c460852913abaa7b1ad08e14844cd81 /lib/test_fortify/write_overflow-strlcpy-src.c
parentaf2ab6ccb93fb4031d15022a1f60904450a9517a (diff)
parent8b6d678fede700db6466d73f11fcbad496fa515e (diff)
ASoC: Constify local snd_sof_dsp_ops
Merge series from Krzysztof Kozlowski <krzk@kernel.org>: The core code does not modify the 'struct snd_sof_dsp_ops' passed via pointer in various places, so this can be made pointer to const in few places. This in turn allows few drivers to have the local (usually static) 'struct snd_sof_dsp_ops' as const which increased code safety, as it is now part of rodata. Not all drivers can be made safer that way. Intel and AMD rely on customizing that 'struct snd_sof_dsp_ops' before passing to SOF, so they won't benefit. They don't lose anything., either.
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions