mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-07 21:33:54 +00:00
fix(bl31): add missing curly braces
This corrects the MISRA violation C2012-15.6: The body of an iteration-statement or a selection-statement shall be a compound-statement. Enclosed statement body within the curly braces. Change-Id: I7c1474a2aa5c940433b88be75c88b4ffa5833b57 Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
This commit is contained in:
parent
9ded5e8d8b
commit
88edd9c6a0
1 changed files with 2 additions and 2 deletions
|
@ -219,9 +219,9 @@ int32_t register_interrupt_type_handler(uint32_t type,
|
|||
******************************************************************************/
|
||||
interrupt_type_handler_t get_interrupt_type_handler(uint32_t type)
|
||||
{
|
||||
if (validate_interrupt_type(type) != 0)
|
||||
if (validate_interrupt_type(type) != 0) {
|
||||
return NULL;
|
||||
|
||||
}
|
||||
return intr_type_descs[type].handler;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue