commit | 6c77e7491563979a3a0ba5eb8b8c6a073cb5c2cb | [log] [tgz] |
---|---|---|
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | Wed Jul 11 12:44:22 2018 +0200 |
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | Wed Jul 11 17:33:29 2018 +0200 |
tree | f8804deddc50821d9b4dad6223d7c54f27507d0d | |
parent | df4c512d470d8bb728343b7edf040ce7c515bd79 [diff] [blame] |
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 <sandrine.bailleux@arm.com>
diff --git a/plat/arm/common/arm_bl1_setup.c b/plat/arm/common/arm_bl1_setup.c index d141f64..1c900b7 100644 --- a/plat/arm/common/arm_bl1_setup.c +++ b/plat/arm/common/arm_bl1_setup.c
@@ -27,7 +27,7 @@ /* Data structure which holds the extents of the trusted SRAM for BL1*/ static meminfo_t bl1_tzram_layout; -meminfo_t *bl1_plat_sec_mem_layout(void) +struct meminfo *bl1_plat_sec_mem_layout(void) { return &bl1_tzram_layout; }