Home
last modified time | relevance | path

Searched hist:"9 f58bfbbe90d2891c289cd27ab7d2ede8b5572d4" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/drivers/brcm/emmc/
H A Demmc_pboot_hal_memory_drv.c9f58bfbbe90d2891c289cd27ab7d2ede8b5572d4 Tue Nov 22 14:05:18 UTC 2022 Boyan Karatotev <boyan.karatotev@arm.com> fix(brcm): add braces around bodies of conditionals

On release builds EMMC_TRACE doesn't expand to anything. Some
conditionals with no braces end up with empty bodies. This produces a
warning when compiling with -Werror=empty-body (enabled by -Wextra).

Since TF-A coding guidelines require braces to comply with MISRA
guidelines anyway, add them in the whole file.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: Ib4e691efc7acdb8fb8692278c7a9772fc894f77f
H A Demmc_csl_sdcard.c9f58bfbbe90d2891c289cd27ab7d2ede8b5572d4 Tue Nov 22 14:05:18 UTC 2022 Boyan Karatotev <boyan.karatotev@arm.com> fix(brcm): add braces around bodies of conditionals

On release builds EMMC_TRACE doesn't expand to anything. Some
conditionals with no braces end up with empty bodies. This produces a
warning when compiling with -Werror=empty-body (enabled by -Wextra).

Since TF-A coding guidelines require braces to comply with MISRA
guidelines anyway, add them in the whole file.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: Ib4e691efc7acdb8fb8692278c7a9772fc894f77f