diff options
author | Dimitris Papastamos <dimitris.papastamos@arm.com> | 2018-04-16 15:04:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-16 15:04:28 +0100 |
commit | 8b37120065e5800c49754a5c9ba97bc98728c964 (patch) | |
tree | 5600523a42e194280583c16cda686a4ee7658d80 /drivers | |
parent | 9d82dd9b68114f0ac4d56b23e83e61414f2dc72f (diff) | |
parent | 3b94189a921c0ea2a410c7730dc9636d95f5aa86 (diff) | |
download | platform_external_arm-trusted-firmware-8b37120065e5800c49754a5c9ba97bc98728c964.tar.gz platform_external_arm-trusted-firmware-8b37120065e5800c49754a5c9ba97bc98728c964.tar.bz2 platform_external_arm-trusted-firmware-8b37120065e5800c49754a5c9ba97bc98728c964.zip |
Merge pull request #1356 from robertovargas-arm/misra-changes
Misra changes
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/auth/auth_mod.c | 4 | ||||
-rw-r--r-- | drivers/auth/crypto_mod.c | 3 | ||||
-rw-r--r-- | drivers/auth/mbedtls/mbedtls_common.c | 3 |
3 files changed, 5 insertions, 5 deletions
diff --git a/drivers/auth/auth_mod.c b/drivers/auth/auth_mod.c index 1cea60b22..eb537b66a 100644 --- a/drivers/auth/auth_mod.c +++ b/drivers/auth/auth_mod.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -30,7 +30,7 @@ /* Pointer to CoT */ extern const auth_img_desc_t *const cot_desc_ptr; -extern unsigned int auth_img_flags[]; +extern unsigned int auth_img_flags[MAX_NUMBER_IDS]; static int cmp_auth_param_type_desc(const auth_param_type_desc_t *a, const auth_param_type_desc_t *b) diff --git a/drivers/auth/crypto_mod.c b/drivers/auth/crypto_mod.c index 3b3e3ac49..4cd05506b 100644 --- a/drivers/auth/crypto_mod.c +++ b/drivers/auth/crypto_mod.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -9,7 +9,6 @@ #include <debug.h> /* Variable exported by the crypto library through REGISTER_CRYPTO_LIB() */ -extern const crypto_lib_desc_t crypto_lib_desc; /* * The crypto module is responsible for verifying digital signatures and hashes. diff --git a/drivers/auth/mbedtls/mbedtls_common.c b/drivers/auth/mbedtls/mbedtls_common.c index 205c2432a..c048d005a 100644 --- a/drivers/auth/mbedtls/mbedtls_common.c +++ b/drivers/auth/mbedtls/mbedtls_common.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -10,6 +10,7 @@ #include <mbedtls/memory_buffer_alloc.h> #include <mbedtls/platform.h> #include <mbedtls_config.h> +#include <mbedtls_common.h> /* * mbed TLS heap |