summaryrefslogtreecommitdiff
path: root/scripts/kallsyms.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2023-07-18 14:24:49 +0200
committerTakashi Iwai <tiwai@suse.de>2023-07-18 14:24:56 +0200
commit21634f0f307c8401462da2cd07507880ee17d3fc (patch)
tree8dd1b41a5a1bd9fe9a340814c4101f33df827f40 /scripts/kallsyms.c
parent6d68d9cba1d0d1ee628a783eb9e7d38a0c3691b8 (diff)
parent2218e10e6fec05f76d6cd2c7eed4cb5af447360b (diff)
Merge branch 'topic/hda-pci-ids' into for-next
Pull cleanup of HD-audio PCI IDs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/kallsyms.c')
-rw-r--r--scripts/kallsyms.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c
index d387c9381650..16c87938b316 100644
--- a/scripts/kallsyms.c
+++ b/scripts/kallsyms.c
@@ -349,10 +349,10 @@ static void cleanup_symbol_name(char *s)
* ASCII[_] = 5f
* ASCII[a-z] = 61,7a
*
- * As above, replacing '.' with '\0' does not affect the main sorting,
- * but it helps us with subsorting.
+ * As above, replacing the first '.' in ".llvm." with '\0' does not
+ * affect the main sorting, but it helps us with subsorting.
*/
- p = strchr(s, '.');
+ p = strstr(s, ".llvm.");
if (p)
*p = '\0';
}