mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 02:24:18 +00:00
fix(versal2): 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: I546cf47edc6332ee193b4771c88ae30553687f19 Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
This commit is contained in:
parent
9334fdf971
commit
9f51da5e2e
1 changed files with 6 additions and 3 deletions
|
@ -638,8 +638,9 @@ void init_scmi_server(void)
|
|||
size_t i;
|
||||
int32_t ret;
|
||||
|
||||
for (i = 0U; i < ARRAY_SIZE(scmi_channel); i++)
|
||||
for (i = 0U; i < ARRAY_SIZE(scmi_channel); i++) {
|
||||
scmi_smt_init_agent_channel(&scmi_channel[i]);
|
||||
}
|
||||
|
||||
INFO("SCMI: Server initialized\n");
|
||||
|
||||
|
@ -649,12 +650,14 @@ void init_scmi_server(void)
|
|||
for (i = 0U; i < ARRAY_SIZE(scmi0_clock); i++) {
|
||||
|
||||
/* Keep i2c on 100MHz to calculate rates properly */
|
||||
if ((i >= CLK_I2C0_0) && (i <= CLK_I2C7_0))
|
||||
if ((i >= CLK_I2C0_0) && (i <= CLK_I2C7_0)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Keep UFS clocks to default values to get the expected rates */
|
||||
if (i >= CLK_UFS0_0 && i <= CLK_UFS0_2)
|
||||
if ((i >= CLK_UFS0_0) && (i <= CLK_UFS0_2)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/*
|
||||
* SPP supports multiple versions.
|
||||
|
|
Loading…
Add table
Reference in a new issue