projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daf0a72
)
trusty: Fix reported misra violation
author
Arve Hjønnevåg
<arve@android.com>
Thu, 1 Mar 2018 19:38:18 +0000
(11:38 -0800)
committer
Arve Hjønnevåg
<arve@android.com>
Thu, 1 Mar 2018 19:38:18 +0000
(11:38 -0800)
memset does not return a useful result here, so explitcitly ignore it
Change-Id: I33cd2228cadc280ee8e5ce3a4f8682dde9a7c16c
services/spd/trusty/trusty.c
patch
|
blob
|
history
diff --git
a/services/spd/trusty/trusty.c
b/services/spd/trusty/trusty.c
index e27df154a6bb021253b9213ce5d8795f34ee095b..6d9cc28a6db19c1467b89742698bf0e30cf0582c 100644
(file)
--- 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 */