u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* BUG: cmd/tmp.c missing fallthrough or break
@ 2023-04-01  8:04 Heinrich Schuchardt
  2023-04-02  2:40 ` Simon Glass
  0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2023-04-01  8:04 UTC (permalink / raw)
  To: Simon Glass; +Cc: Ilias Apalodimas, U-Boot Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: BUG: cmd/tmp.c missing fallthrough or break
  2023-04-01  8:04 BUG: cmd/tmp.c missing fallthrough or break Heinrich Schuchardt
@ 2023-04-02  2:40 ` Simon Glass
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Glass @ 2023-04-02  2:40 UTC (permalink / raw)
  To: Heinrich Schuchardt; +Cc: Ilias Apalodimas, U-Boot Mailing List

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@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-02  2:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-01  8:04 BUG: cmd/tmp.c missing fallthrough or break Heinrich Schuchardt
2023-04-02  2:40 ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).