spl: add __noreturn attribute to spl_invoke_opensbi function
authorChanho Park <chanho61.park@samsung.com>
Tue, 29 Aug 2023 01:20:14 +0000 (10:20 +0900)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 5 Sep 2023 02:53:51 +0000 (10:53 +0800)
commitef08687ea0e2b5d57a1df51e6613bc4263747943
tree22d8ad93fb84a5320b7051a15141050d2f3db49e
parentf39e24496af503c7968cc5e15940701fdf2a0c5b
spl: add __noreturn attribute to spl_invoke_opensbi function

spl_invoke_opensbi function is not returned to SPL. Thus, we need to
set __noreturn function attribute.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
common/spl/spl_opensbi.c
include/spl.h