From 6c77e7491563979a3a0ba5eb8b8c6a073cb5c2cb Mon Sep 17 00:00:00 2001 From: Sandrine Bailleux Date: Wed, 11 Jul 2018 12:44:22 +0200 Subject: Fix some violations to MISRA rule 8.3 Wherever we use 'struct foo' and 'foo_t' interchangeably in a function's declaration and definition, use 'struct foo' consistently for both, as per the TF-A coding guidelines [1]. [1] https://github.com/ARM-software/arm-trusted-firmware/wiki/ARM-Trusted-Firmware-Coding-Guidelines#avoid-anonymous-typedefs-of-structsenums-in-header-files Change-Id: I7998eb24a26746e87e9b6425529926406745b721 Signed-off-by: Sandrine Bailleux --- bl1/bl1_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bl1') diff --git a/bl1/bl1_main.c b/bl1/bl1_main.c index 64b363c5..047cd6fb 100644 --- a/bl1/bl1_main.c +++ b/bl1/bl1_main.c @@ -74,8 +74,8 @@ void bl1_calc_bl2_mem_layout(const meminfo_t *bl1_mem_layout, * populates a new memory layout for BL2 that ensures that BL1's data sections * resident in secure RAM are not visible to BL2. ******************************************************************************/ -void bl1_init_bl2_mem_layout(const meminfo_t *bl1_mem_layout, - meminfo_t *bl2_mem_layout) +void bl1_init_bl2_mem_layout(const struct meminfo *bl1_mem_layout, + struct meminfo *bl2_mem_layout) { bl1_calc_bl2_mem_layout(bl1_mem_layout, bl2_mem_layout); } -- cgit v1.2.3