BUG: cmd/tmp.c missing fallthrough or break

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


Hi Heinrich,

It needs a break. It is trying to write too many times and create an error.

Regards,
Simon


On Sat, 1 Apr 2023 at 21:04, Heinrich Schuchardt <
heinrich.schuchardt at canonical.com> wrote:
>
> Hello Simon,
>
> please, have a look and this error:
>
> cmd/tpm_test.c:473:25: note: in expansion of macro ‘assert’
>    473 |                         assert(i >= TPM_MAX_NV_WRITES_NOOWNER);
>        |                         ^~~~~~
> cmd/tpm_test.c:474:17: note: here
>    474 |                 default:
>        |                 ^~~~~~~
>
> I am not sure if you forgot a break or a fallthrough.
>
> Best regards
>
> Heinrich


More information about the U-Boot mailing list