diff options
author | John Tsichritzis <john.tsichritzis@arm.com> | 2019-06-17 11:51:24 +0000 |
---|---|---|
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | 2019-06-17 11:51:24 +0000 |
commit | 97c9a42d096db60719ec10df3bb8d22ebc60dfb3 (patch) | |
tree | a1201a95c239bb1c0d70cf9c8743da5e7bdbef97 /include | |
parent | 45c28e95bd9ebc05ac9c27c52f04e039b40212f0 (diff) | |
parent | 2efb7ddc3b77a1ff11921083f290aebedbc935a2 (diff) | |
download | platform_external_arm-trusted-firmware-97c9a42d096db60719ec10df3bb8d22ebc60dfb3.tar.gz platform_external_arm-trusted-firmware-97c9a42d096db60719ec10df3bb8d22ebc60dfb3.tar.bz2 platform_external_arm-trusted-firmware-97c9a42d096db60719ec10df3bb8d22ebc60dfb3.zip |
Merge "Fix type of cot_desc_ptr" into integration
Diffstat (limited to 'include')
-rw-r--r-- | include/drivers/auth/auth_mod.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/drivers/auth/auth_mod.h b/include/drivers/auth/auth_mod.h index 39f5372e5..6c48124b5 100644 --- a/include/drivers/auth/auth_mod.h +++ b/include/drivers/auth/auth_mod.h @@ -40,11 +40,10 @@ int auth_mod_verify_img(unsigned int img_id, /* Macro to register a CoT defined as an array of auth_img_desc_t pointers */ #define REGISTER_COT(_cot) \ - const auth_img_desc_t **const cot_desc_ptr = \ - (const auth_img_desc_t **const)_cot; \ + const auth_img_desc_t *const *const cot_desc_ptr = (_cot); \ unsigned int auth_img_flags[MAX_NUMBER_IDS] -extern const auth_img_desc_t **const cot_desc_ptr; +extern const auth_img_desc_t *const *const cot_desc_ptr; extern unsigned int auth_img_flags[MAX_NUMBER_IDS]; #endif /* TRUSTED_BOARD_BOOT */ |