git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50f6402
)
cmd: missing break in test_write_limit()
author
Heinrich Schuchardt
<heinrich.schuchardt@canonical.com>
Sun, 2 Apr 2023 04:51:54 +0000
(06:51 +0200)
committer
Ilias Apalodimas
<ilias.apalodimas@linaro.org>
Tue, 2 May 2023 11:09:19 +0000
(14:09 +0300)
In test_write_limit() an unintended fall-through occurs.
Suggested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/tpm_test.c
patch
|
blob
|
history
diff --git
a/cmd/tpm_test.c
b/cmd/tpm_test.c
index
b35eae8
..
c4ed8e5
100644
(file)
--- 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);