Re: [PATCH 1/6] module: Add helper function for reading module_buildid()
From: Daniel Gomez
Date: Thu Nov 06 2025 - 07:54:48 EST
On 05/11/2025 15.23, 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: Daniel Gomez <da.gomez@xxxxxxxxxxx>