diff --git a/kernel/kcsan/debugfs.c b/kernel/kcsan/debugfs.c index b14072071889..2af39ba5b70b 100644 --- a/kernel/kcsan/debugfs.c +++ b/kernel/kcsan/debugfs.c @@ -179,8 +179,7 @@ static ssize_t insert_report_filterlist(const char *func) } /* Note: deduplicating should be done in userspace. */ - report_filterlist.addrs[report_filterlist.used++] = - kallsyms_lookup_name(func); + report_filterlist.addrs[report_filterlist.used++] = addr; report_filterlist.sorted = false; raw_spin_unlock_irqrestore(&report_filterlist_lock, flags);