Skip to content
Commit 2da65a42 authored by Tarek El-Sherbiny's avatar Tarek El-Sherbiny
Browse files

amu_smcf_drv/unit_test: Fix compiler error



On gcc 13.2.0 the following error is flagged:
storing the address of local variable ‘data_api’ in
‘amu_smcf_drv_ctx.data_api’ [-Werror=dangling-pointer=].

Storing a local pointer in a global variable should be avoided.

Signed-off-by: Tarek El-Sherbiny's avatarTarek El-Sherbiny <tarek.el-sherbiny@arm.com>
parent ed7e163e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment