From 735181b634c951d4fa6a8b454847dac53f85d5b5 Mon Sep 17 00:00:00 2001 From: Roberto Vargas Date: Mon, 12 Feb 2018 12:36:17 +0000 Subject: Fix MISRA rule 8.3 Part 4 Rule 8.3: All declarations of an object or function shall use the same names and type qualifiers Fixed for: make DEBUG=1 PLAT=fvp SPD=tspd TRUSTED_BOARD_BOOT=1 \ GENERATE_COT=1 ARM_ROTPK_LOCATION=devel_rsa \ ROT_KEY=arm_rotprivk_rsa.pem MBEDTLS_DIR=mbedtls all Change-Id: Ia34fe1ae1f142e89c9a6c19831e3daf4d28f5831 Signed-off-by: Roberto Vargas --- bl1/bl1_fwu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bl1') diff --git a/bl1/bl1_fwu.c b/bl1/bl1_fwu.c index 49e4e8e2..25be5770 100644 --- a/bl1/bl1_fwu.c +++ b/bl1/bl1_fwu.c @@ -24,12 +24,12 @@ * Function declarations. */ static int bl1_fwu_image_copy(unsigned int image_id, - uintptr_t image_addr, + uintptr_t image_src, unsigned int block_size, unsigned int image_size, unsigned int flags); static int bl1_fwu_image_auth(unsigned int image_id, - uintptr_t image_addr, + uintptr_t image_src, unsigned int image_size, unsigned int flags); static int bl1_fwu_image_execute(unsigned int image_id, @@ -50,7 +50,7 @@ __dead2 static void bl1_fwu_done(void *client_cookie, void *reserved); static unsigned int sec_exec_image_id = INVALID_IMAGE_ID; /* Authentication status of each image. */ -extern unsigned int auth_img_flags[]; +extern unsigned int auth_img_flags[MAX_NUMBER_IDS]; /******************************************************************************* * Top level handler for servicing FWU SMCs. -- cgit v1.2.3