aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-04-26 17:07:11 +0200
committerTakashi Iwai <tiwai@suse.de>2024-04-26 17:07:11 +0200
commit7f5f0c205bdb42d1df20f816fc6163189d7ad27a (patch)
treeee37a7af2693698dd8038d7ddc5607b78fb8503d
parent375b5689cf7210b75c2dc8e26f180ceea42ed9bc (diff)
parent957a36c4fcf47aaa4f0d54bdb8050d86880b7f01 (diff)
downloadsound-7f5f0c205bdb42d1df20f816fc6163189d7ad27a.tar.gz
Merge branch 'for-next'
-rw-r--r--sound/core/sound_kunit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/sound_kunit.c b/sound/core/sound_kunit.c
index eb90f62228c02..e34c4317f5eb3 100644
--- a/sound/core/sound_kunit.c
+++ b/sound/core/sound_kunit.c
@@ -167,7 +167,7 @@ static void _test_fill_silence(struct kunit *test, struct snd_format_test_data *
static void test_format_fill_silence(struct kunit *test)
{
- u32 buf_samples[] = { 10, 20, 32, 64, 129, SILENCE_BUFFER_MAX_FRAMES };
+ static const u32 buf_samples[] = { 10, 20, 32, 64, 129, SILENCE_BUFFER_MAX_FRAMES };
u8 *buffer;
u32 i, j;