mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
cmd: missing break in test_write_limit()
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>
This commit is contained in:
parent
50f64026f7
commit
7e218c19c7
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue