mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
patman: Fix 'warning' typo
If no warnings are detected due to checkpatch having unexpected options, patman currently shows an error: TypeError: unsupported operand type(s) for +=: 'int' and 'property' Fix this by initing the variable correctly. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -59,7 +59,7 @@ def CheckPatch(fname, verbose=False):
|
||||
'stdout']
|
||||
result = collections.namedtuple('CheckPatchResult', fields)
|
||||
result.ok = False
|
||||
result.errors, result.warning, result.checks = 0, 0, 0
|
||||
result.errors, result.warnings, result.checks = 0, 0, 0
|
||||
result.lines = 0
|
||||
result.problems = []
|
||||
chk = FindCheckPatch()
|
||||
|
Reference in New Issue
Block a user