Files
ack-tegra/include/linux
Petr Mladek cd6735896d kallsyms/bpf: rename __bpf_address_lookup() to bpf_address_lookup()
bpf_address_lookup() has been used only in kallsyms_lookup_buildid().  It
was supposed to set @modname and @modbuildid when the symbol was in a
module.

But it always just cleared @modname because BPF symbols were never in a
module.  And it did not clear @modbuildid because the pointer was not
passed.

The wrapper is no longer needed.  Both @modname and @modbuildid are now
always initialized to NULL in kallsyms_lookup_buildid().

Remove the wrapper and rename __bpf_address_lookup() to
bpf_address_lookup() because this variant is used everywhere.

[akpm@linux-foundation.org: fix loongarch]
Link: https://lkml.kernel.org/r/20251128135920.217303-6-pmladek@suse.com
Fixes: 9294523e37 ("module: add printk formats to add module build ID to stacktraces")
Signed-off-by: Petr Mladek <pmladek@suse.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Cc: Aaron Tomlin <atomlin@atomlin.com>
Cc: Daniel Borkman <daniel@iogearbox.net>
Cc: Daniel Gomez <da.gomez@samsung.com>
Cc: John Fastabend <john.fastabend@gmail.com>
Cc: Kees Cook <kees@kernel.org>
Cc: Luis Chamberalin <mcgrof@kernel.org>
Cc: Marc Rutland <mark.rutland@arm.com>
Cc: "Masami Hiramatsu (Google)" <mhiramat@kernel.org>
Cc: Petr Pavlu <petr.pavlu@suse.com>
Cc: Sami Tolvanen <samitolvanen@google.com>
Cc: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2026-01-20 19:44:22 -08:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-01-11 06:09:11 -10:00
…
…
…
2025-11-18 22:26:02 +05:30
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-01-20 19:44:19 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-12-12 12:36:44 -07:00
…
…
…
2025-12-04 07:19:26 -07:00
…
…
…
…
2025-12-09 23:29:42 -08:00
…
…
…
…
…
…
…
…
…
2025-11-21 11:21:31 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-12-13 20:04:32 +12:00
…
…
…
…
…
…
…
…
2025-12-16 00:57:29 -05:00
…
…
…
…
…
…
…
…
…
…
2025-12-23 11:23:10 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-01-11 06:09:11 -10:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-01-11 06:09:11 -10:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-11-23 12:30:40 +01:00
…
…
…
…
…
…
…
2025-11-20 13:43:59 -08:00
…
2026-01-14 11:00:00 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-01-12 10:45:31 -06:00
…
…
…
2026-01-11 06:09:11 -10:00
…
…
…
…
…
…
…
…
…
2026-01-11 06:09:11 -10:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-11-27 14:24:30 -08:00
…
…
…
…
…
…
…
…
2025-11-18 17:52:54 +01:00
…
…
…
…
…
…
…
…
…
…
2026-01-11 06:09:11 -10:00
…
…
…
…
…
…
2025-11-28 09:21:18 -07:00
…
2026-01-13 11:37:52 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-11-27 14:22:31 +01:00
…
…
…
…
…
…
2025-11-20 17:57:40 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-11-25 10:07:42 +01:00
…
…
…
…
2026-01-11 06:09:11 -10:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-12-24 08:02:55 -05:00
2025-11-24 15:08:54 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…