Re: [PATCH 11/12] [v4] kallsyms: rework symbol lookup return codes
From: Arnd Bergmann
Date: Tue Mar 26 2024 - 13:11:28 EST
On Tue, Mar 26, 2024, at 18:06, Steven Rostedt wrote:
> On Tue, 26 Mar 2024 15:53:38 +0100
> Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
>
>> -const char *
>> +int
>> ftrace_mod_address_lookup(unsigned long addr, unsigned long *size,
>> unsigned long *off, char **modname, char *sym)
>> {
>> struct ftrace_mod_map *mod_map;
>> - const char *ret = NULL;
>> + int ret;
>
> This needs to be ret = 0;
Fixed now, thanks!
I'll send a v5 in a few days
Arnd