]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitab3db617fd5c740d81445b24f65efdf772b30bda
treeb077dc309d4bdb9d9d752a27d540cca99f61f6ee
parente4799e1412156b80fe867d327e4cb47ef9c85eeb
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