On 2026-09-01T10:19:24, Naveen Kumar Chaudhary <[email protected]> wrote:
> avb: fix missing break in avb_set_state() switch
>
> The AVB_ORANGE case fell through into AVB_RED due to a missing break.
> It happened to be harmless since AVB_RED only breaks, but it trips
> -Wimplicit-fallthrough and is fragile against future changes. Add the
> missing break.
>
> Fixes: 5d4fd877733 ("avb2.0: add boot states and dm-verity support")
> Signed-off-by: Naveen Kumar Chaudhary <[email protected]>
>
> common/avb_verify.c | 1 +
>  1 file changed, 1 insertion(+)

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

Reply via email to