diff --git a/services/spd/trusty/trusty.c b/services/spd/trusty/trusty.c index e27df154a6bb021253b9213ce5d8795f34ee095b..6d9cc28a6db19c1467b89742698bf0e30cf0582c 100644 --- a/services/spd/trusty/trusty.c +++ b/services/spd/trusty/trusty.c @@ -428,7 +428,7 @@ static int32_t trusty_setup(void) DAIF_FIQ_BIT | DAIF_IRQ_BIT | DAIF_ABT_BIT); - memset(&ep_info->args, 0, sizeof(ep_info->args)); + (void)memset(&ep_info->args, 0, sizeof(ep_info->args)); plat_trusty_set_boot_args(&ep_info->args); /* register init handler */