summaryrefslogtreecommitdiff
path: root/scripts/mod
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 /scripts/mod
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 'scripts/mod')
-rw-r--r--scripts/mod/devicetable-offsets.c1
-rw-r--r--scripts/mod/modpost.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/scripts/mod/devicetable-offsets.c b/scripts/mod/devicetable-offsets.c
index d3d00e85edf7..ef2ffb68f69d 100644
--- a/scripts/mod/devicetable-offsets.c
+++ b/scripts/mod/devicetable-offsets.c
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
+#define COMPILE_OFFSETS
#include <linux/kbuild.h>
#include <linux/mod_devicetable.h>
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 47c8aa2a6939..755b842f1f9b 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -606,6 +606,11 @@ static int ignore_undef_symbol(struct elf_info *info, const char *symname)
strstarts(symname, "_savevr_") ||
strcmp(symname, ".TOC.") == 0)
return 1;
+
+ /* ignore linker-created section bounds variables */
+ if (strstarts(symname, "__start_") || strstarts(symname, "__stop_"))
+ return 1;
+
/* Do not ignore this symbol */
return 0;
}