summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorArve Hjønnevåg <arve@android.com>2018-03-01 11:38:18 -0800
committerArve Hjønnevåg <arve@android.com>2018-03-01 11:38:18 -0800
commitbe1b5d48fa7826d93a173ae9b48e2df9a2e7bca1 (patch)
tree4f9291e379f8ceb9a0ed2c1017c557b5a6c0b5cb /services
parentdaf0a726eadbc6b8a09b3e3ae7a94dcdac20664e (diff)
trusty: Fix reported misra violation
memset does not return a useful result here, so explitcitly ignore it Change-Id: I33cd2228cadc280ee8e5ce3a4f8682dde9a7c16c
Diffstat (limited to 'services')
-rw-r--r--services/spd/trusty/trusty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/spd/trusty/trusty.c b/services/spd/trusty/trusty.c
index e27df154..6d9cc28a 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 */