summaryrefslogtreecommitdiff
path: root/services/std_svc
diff options
context:
space:
mode:
authorManish Pandey <manish.pandey2@arm.com>2023-01-10 11:56:42 +0100
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2023-01-10 11:56:42 +0100
commit601e2d4325a7def628990f4a25889f374c81ca06 (patch)
treeb3e34881b61fc2e03dc5ed49d4c83ab832bd7913 /services/std_svc
parent0e4655f828db2c0b03bdab22e676b77274caa656 (diff)
parent291be198faf634c2cde6812ac9a59b1573b71806 (diff)
downloadarm-trusted-firmware-601e2d4325a7def628990f4a25889f374c81ca06.tar.gz
Merge changes from topic "bk/warnings" into integration
* changes: docs: describe the new warning levels build: add -Wunused-const-variable=2 to W=2 build: include -Wextra in generic builds docs(porting-guide): update a reference fix(st-usb): replace redundant checks with asserts fix(brcm): add braces around bodies of conditionals fix(renesas): align incompatible function pointers fix(zynqmp): remove redundant api_version check fix: remove old-style declarations fix: unify fallthrough annotations
Diffstat (limited to 'services/std_svc')
-rw-r--r--services/std_svc/spmd/spmd_main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/services/std_svc/spmd/spmd_main.c b/services/std_svc/spmd/spmd_main.c
index 7e6c89df3..afd0f2ea2 100644
--- a/services/std_svc/spmd/spmd_main.c
+++ b/services/std_svc/spmd/spmd_main.c
@@ -868,7 +868,8 @@ uint64_t spmd_smc_handler(uint32_t smc_fid,
FFA_ERROR_NOT_SUPPORTED);
}
- /* Fall through to forward the call to the other world */
+ /* Forward the call to the other world */
+ /* fallthrough */
case FFA_MSG_SEND:
case FFA_MSG_SEND_DIRECT_RESP_SMC64:
case FFA_MEM_DONATE_SMC32:
@@ -908,7 +909,8 @@ uint64_t spmd_smc_handler(uint32_t smc_fid,
spmd_spm_core_sync_exit(0ULL);
}
- /* Fall through to forward the call to the other world */
+ /* Forward the call to the other world */
+ /* fallthrough */
case FFA_INTERRUPT:
case FFA_MSG_YIELD:
/* This interface must be invoked only by the Secure world */