arm-trusted-firmware/drivers/arm
Leo Yan e2e8a397f8 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>
2024-06-28 16:25:09 +01:00
..
cci Increase type widths to satisfy width requirements 2020-10-12 10:55:03 -05:00
ccn Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
css feat(dsu): save/restore DSU PMU register 2024-05-09 10:20:32 -05:00
dcc Merge changes from topic "dcc-console" into integration 2023-10-17 15:22:54 +02:00
ethosn feat(ethos-n): update npu error handling 2023-08-15 09:36:47 +01:00
fvp fix(fvp): extract core id from mpidr for pwrc operations 2023-08-07 09:15:57 -05:00
gic refactor: fix common misspelling of init* 2024-03-20 11:44:00 +00:00
mhu fix(mhu): fix compilation error with ENABLE_ASSERTIONS=0 option 2024-06-28 16:25:09 +01:00
pl011 refactor(console): disable getc() by default 2023-10-11 08:40:14 +02:00
pl061 Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
rse fix(rse): include lib-psa to resolve build 2024-06-07 11:40:07 +01:00
sbsa feat(sbsa): helper api for refreshing watchdog timer 2023-05-04 08:24:12 -05:00
scu drivers: add a driver for snoop control unit 2020-01-03 10:44:28 +00:00
smmu refactor(cpufeat): add macro to simplify is_feat_xx_present 2024-05-02 12:16:16 -05:00
sp804 Remove several warnings reported with W=2 2019-04-01 10:43:42 +01:00
sp805 Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
tzc fix(tzc400): correct message with filter 2022-02-15 18:09:51 +01:00