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/common/plat_bl1_common.c b/plat/common/plat_bl1_common.c index c5bbe74..6777979 100644 --- a/plat/common/plat_bl1_common.c +++ b/plat/common/plat_bl1_common.c
@@ -34,7 +34,7 @@ } void bl1_plat_set_ep_info(unsigned int image_id, - entry_point_info_t *ep_info) + struct entry_point_info *ep_info) { } @@ -48,7 +48,7 @@ * Following is the default definition that always * returns BL2 image details. */ -image_desc_t *bl1_plat_get_image_desc(unsigned int image_id) +struct image_desc *bl1_plat_get_image_desc(unsigned int image_id) { static image_desc_t bl2_img_desc = BL2_IMAGE_DESC; return &bl2_img_desc;