Fix this error by initing the variable before the loop: tools/qconfig.py:880:22: E0606: Possibly using variable 'defconfig' before assignment (possibly-used-before-assignment) Signed-off-by: Simon Glass <sjg at chromium.org> --- tools/qconfig.py | 1 + 1 file changed, 1 insertion(+) Applied to u-boot-dm, thanks!