From: Heinrich Schuchardt Date: Sun, 2 Apr 2023 04:51:54 +0000 (+0200) Subject: cmd: missing break in test_write_limit() X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=7e218c19c74bcedf3a2225fe2bf1aee34b2bb5ee;p=u-boot.git cmd: missing break in test_write_limit() In test_write_limit() an unintended fall-through occurs. Suggested-by: Simon Glass Signed-off-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas Reviewed-by: Simon Glass Signed-off-by: Ilias Apalodimas --- diff --git a/cmd/tpm_test.c b/cmd/tpm_test.c index b35eae81dc..c4ed8e5901 100644 --- a/cmd/tpm_test.c +++ b/cmd/tpm_test.c @@ -471,6 +471,7 @@ static int test_write_limit(struct udevice *dev) break; case TPM_MAXNVWRITES: assert(i >= TPM_MAX_NV_WRITES_NOOWNER); + break; default: pr_err("\tunexpected error code %d (0x%x)\n", result, result);