diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2018-07-11 12:44:22 +0200 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2018-07-11 17:33:29 +0200 |
commit | 6c77e7491563979a3a0ba5eb8b8c6a073cb5c2cb (patch) | |
tree | f8804deddc50821d9b4dad6223d7c54f27507d0d /plat/common | |
parent | df4c512d470d8bb728343b7edf040ce7c515bd79 (diff) |
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>
Diffstat (limited to 'plat/common')
-rw-r--r-- | plat/common/plat_bl1_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/common/plat_bl1_common.c b/plat/common/plat_bl1_common.c index c5bbe743..67779799 100644 --- a/plat/common/plat_bl1_common.c +++ b/plat/common/plat_bl1_common.c @@ -34,7 +34,7 @@ unsigned int bl1_plat_get_next_image_id(void) } 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 @@ int bl1_plat_handle_pre_image_load(unsigned int image_id) * 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; |