On Sun, 31 Jan 2021 at 17:24, Heinrich Schuchardt <[email protected]> wrote:
>
> gcc -fanalyzer needs the information that a function does not return to
> provide accurate information.
>
> os_abort() does not return. Mark it accordingly.
>
> Signed-off-by: Heinrich Schuchardt <[email protected]>
> ---
> v2:
>         use __attribute__((noreturn)) instead of __return
> ---
>  include/os.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <[email protected]>

Applied to u-boot-dm, thanks!

Reply via email to