bloblist: Fix use of uninitialized variable
Initialize addr to zero which allows to build on the CI which is more strict. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Tom Rini
parent
3cc4123ed5
commit
b36f629464
+1
-1
@@ -499,7 +499,7 @@ int bloblist_init(void)
|
||||
{
|
||||
bool fixed = IS_ENABLED(CONFIG_BLOBLIST_FIXED);
|
||||
int ret = -ENOENT;
|
||||
ulong addr, size;
|
||||
ulong addr = 0, size;
|
||||
/*
|
||||
* If U-Boot is not in the first phase, an existing bloblist must be
|
||||
* at a fixed address.
|
||||
|
||||
Reference in New Issue
Block a user