fix(gicv3): return interrupt type to fix build

This patch fixes the following build fail observed in some
build environment:

1 error generated.
[2/24] CC secure_aem_v8a_fvp_clang/obj/src/arch/aarch64/plat/interrupts/gicv3.gicv3.o
FAILED: secure_aem_v8a_fvp_clang/obj/src/arch/aarch64/plat/interrupts/gicv3.gicv3.o
clang -MMD -MF secure_aem_v8a_fvp_clang/obj/src/arch/aarch64/plat/interrupts/gicv3.gicv3.o.d -DVM_TOOLCHAIN=0 -DGIC_VERSION=3 -DGICD_BASE=0x2f000000 -DGICR_BASE=0x2f100000 -DBRANCH_PROTECTION=1 -DHEAP_PAGES=60 -DMAX_CPUS=8 -DMAX_VMS=16 -DLOG_LEVEL=LOG_LEVEL_VERBOSE -DENABLE_ASSERTIONS=true -I../../inc -I../../inc/vmapi -I../../src/arch/aarch64/inc -Isecure_aem_v8a_fvp_clang/gen/offset_size_header -I../../src/arch/aarch64 -ffunction-sections -fdata-sections -flto -fno-builtin -ffreestanding -fpic -mcpu=cortex-a57+nofp -mstrict-align -mbranch-protection=standard -target aarch64-none-eabi -fcolor-diagnostics -nostdinc -isystem /home/mehhim01/Documents/FF-A/TFA_testing/hafnium/prebuilts/linux-x64/clang/lib64/clang/12.0.5/include -isystem /home/mehhim01/Documents/FF-A/tfa_testing_changes/hafnium/inc/system -g -Wall -O2 -Wpedantic -Werror -fstack-protector-all -std=c11 -c ../../src/arch/aarch64/plat/interrupts/gicv3.c -o secure_aem_v8a_fvp_clang/obj/src/arch/aarch64/plat/interrupts/gicv3.gicv3.o
../../src/arch/aarch64/plat/interrupts/gicv3.c:147:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]

Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: Ie6cdf9e854443d1848637bdd2885c5bf3d93c0b2
1 file changed
tree: 50e7eb49548408b82baca5d3bbb7cddd8ff95e6b
  1. .vscode/
  2. build/
  3. docs/
  4. driver/
  5. inc/
  6. kokoro/
  7. project/
  8. src/
  9. test/
  10. third_party/
  11. vmlib/
  12. .clang-format
  13. .clang-tidy
  14. .gitignore
  15. .gitmodules
  16. .gn
  17. AUTHORS
  18. BUILD.gn
  19. CONTRIBUTING.md
  20. dco.txt
  21. LICENSE
  22. Makefile
  23. navbar.md
  24. README.md
README.md

Hafnium

Hafnium is a hypervisor, initially supporting aarch64 (64-bit Armv8 CPUs).

Get in touch and keep up-to-date at hafnium@lists.trustedfirmware.org. See feature requests and bugs on our bug dashboard.

Getting started

To jump in and build Hafnium, follow the getting started instructions.

If you want to contribute to the project, see details of how we accept contributions.

Documentation

More documentation is available on: