[PATCH 2/2] test: vboot: Using variable 'old_dtb' before assignment

Simon Glass sjg at chromium.org
Mon Dec 11 18:52:18 CET 2023


On Sat, 9 Dec 2023 at 11:54, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> old_dtb can only be assumed initialized in the finally block
> if it is assigned a value before the try statement.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  test/py/tests/test_vboot.py | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>

I suggest mentioning the motivation for the patch in your commit
message. E.g. does it cause a pylint failure?


More information about the U-Boot mailing list