Skip to content
Commit e6b32ab6 authored by Luca Burelli's avatar Luca Burelli Committed by Anas Nashif
Browse files

llext: hotfix: fix function pointer logging



Some function pointers were being passed via `%p` to LOG_DBG, and this
was causing the following issues in SOF CI with the `sparse` checker:

   subsys/llext/llext.c: error: arithmetics on pointers to functions
   subsys/llext/llext.c: error: incompatible types for operation (+)

This patch fixes the issue by casting the function pointers to void*.
Also fix a misleading error message in `llext_get_fn_table()`.

Signed-off-by: default avatarLuca Burelli <l.burelli@arduino.cc>
parent 884a4e5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment