summaryrefslogtreecommitdiff
path: root/include/linux/moduleparam.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2025-12-21 13:11:11 +0300
committerTakashi Iwai <tiwai@suse.de>2025-12-21 13:11:11 +0300
commit24f171c7e145f43b9f187578e89b0982ce87e54c (patch)
tree4044981e7fa714534981162dc390f15fbd4d3241 /include/linux/moduleparam.h
parentf7cede182c963720edd1e5fb50ea4f1c7eafa30e (diff)
parent56d953a8d0da5e53c2594edde23465ec49385b1c (diff)
downloadlinux-24f171c7e145f43b9f187578e89b0982ce87e54c.tar.xz
Merge tag 'asoc-fix-v6.19-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v6.19 We've been quite busy with fixes since the merge window, though not in any particularly exciting ways - the standout thing is the fix for _SX controls which were broken by a change to how we do clamping, otherwise it's all fairly run of the mill fixes and quirks.
Diffstat (limited to 'include/linux/moduleparam.h')
-rw-r--r--include/linux/moduleparam.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h
index 6907aedc4f74..915f32f7d888 100644
--- a/include/linux/moduleparam.h
+++ b/include/linux/moduleparam.h
@@ -26,6 +26,9 @@
/* Generic info of form tag = "info" */
#define MODULE_INFO(tag, info) \
+ static_assert( \
+ sizeof(info) - 1 == __builtin_strlen(info), \
+ "MODULE_INFO(" #tag ", ...) contains embedded NUL byte"); \
static const char __UNIQUE_ID(modinfo)[] \
__used __section(".modinfo") __aligned(1) \
= __MODULE_INFO_PREFIX __stringify(tag) "=" info