From be1b5d48fa7826d93a173ae9b48e2df9a2e7bca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= Date: Thu, 1 Mar 2018 11:38:18 -0800 Subject: trusty: Fix reported misra violation memset does not return a useful result here, so explitcitly ignore it Change-Id: I33cd2228cadc280ee8e5ce3a4f8682dde9a7c16c --- services/spd/trusty/trusty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services') 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 */ -- cgit v1.2.3