Searched hist:e2e8a397f88eaedb9d3f16b6b4560eec51aee7e0 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/drivers/arm/mhu/ |
| H A D | mhu_wrapper_v3_x.c | e2e8a397f88eaedb9d3f16b6b4560eec51aee7e0 Fri Jun 28 15:21:42 UTC 2024 Leo Yan <leo.yan@arm.com> fix(mhu): fix compilation error with ENABLE_ASSERTIONS=0 option
After disabling assertion with -DENABLE_ASSERTIONS=0, the build reports error:
drivers/arm/mhu/mhu_wrapper_v3_x.c: In function 'mhu_get_max_message_size': drivers/arm/mhu/mhu_wrapper_v3_x.c:448:31: error: variable 'err' set but not used [-Werror=unused-but-set-variable] enum mhu_v3_x_error_t err; ^~~
This commit fixes the building failure by making the variable 'err' as __maybe_unused.
Change-Id: I338e6df03d2f0805c83e96d8e3a4abae41e68678 Signed-off-by: Leo Yan <leo.yan@arm.com>
|