BUG: pta_scp03_invoke_func() in drivers/tee/sandbox.c

Simon Glass sjg at chromium.org
Sun Apr 2 04:40:16 CEST 2023


Hi Heinrich,

On Sat, 1 Apr 2023 at 20:58, Heinrich Schuchardt <
heinrich.schuchardt at canonical.com> wrote:
>
> Hello Simon,
>
> could you, please, have a look at this warning:
>
> drivers/tee/sandbox.c: In function ‘pta_scp03_invoke_func’:
> drivers/tee/sandbox.c:138:20: warning: this statement may fall through
> [-Wimplicit-fallthrough=]
>    138 |                 if (params[0].u.value.a)
>        |                    ^
> drivers/tee/sandbox.c:141:9: note: here
>    141 |         default:
>        |         ^~~~~~~
>
> Either the return statement is incorrectly indented and a fallthrough
> macro is missing or the if statement is superfluous.
>

+Jorge Ramirez who will know.

Regards,
SImon


> Best regards
>
> Heinrich


More information about the U-Boot mailing list