mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-11 07:04:22 +00:00
fix(bl31): add const qualifier
This corrects the MISRA violation C2012-8.13: A pointer should point to a const-qualified type whenever possible. Added const qualifier to pointer in the function arguments. Change-Id: Ia323a2b2946d61a639696e2559f88e376beda861 Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
This commit is contained in:
parent
97eefd9989
commit
e358089d83
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ uint32_t bl31_get_next_image_type(void)
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
void __init bl31_prepare_next_image_entry(void)
|
void __init bl31_prepare_next_image_entry(void)
|
||||||
{
|
{
|
||||||
entry_point_info_t *next_image_info;
|
const entry_point_info_t *next_image_info;
|
||||||
uint32_t image_type;
|
uint32_t image_type;
|
||||||
|
|
||||||
#if CTX_INCLUDE_AARCH32_REGS
|
#if CTX_INCLUDE_AARCH32_REGS
|
||||||
|
|
Loading…
Add table
Reference in a new issue