Re: [PATCH 1/6] module: Add helper function for reading module_buildid()

From: Petr Pavlu

Date: Thu Nov 06 2025 - 03:52:16 EST


On 11/5/25 3:23 PM, Petr Mladek wrote:
> Add a helper function for reading the optional "build_id" member
> of struct module. It is going to be used also in
> ftrace_mod_address_lookup().
>
> Use "#ifdef" instead of "#if IS_ENABLED()" to match the declaration
> of the optional field in struct module.
>
> Signed-off-by: Petr Mladek <pmladek@xxxxxxxx>
Reviewed-by: Petr Pavlu <petr.pavlu@xxxxxxxx>

--
Thanks,
Petr