patman: Fix 'warning' typo
authorSimon Glass <sjg@chromium.org>
Wed, 6 May 2020 22:29:04 +0000 (16:29 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 12 Jun 2020 02:52:10 +0000 (20:52 -0600)
commit870bd567994b4455c9f68c3bc30fea6499fe5f54
treeb077dc309d4bdb9d9d752a27d540cca99f61f6ee
parentbe79009f3b9bbdbce283e67a865121e576d790ea
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>
tools/patman/checkpatch.py