]> git.karo-electronics.de Git - karo-tx-linux.git/commit
scripts-pnmtologo-fix-for-plain-pbm-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 20 Feb 2013 02:15:09 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:04 +0000 (16:53 +1100)
commit87b870a87440086b036b7fea1fd9e4219ce241a9
tree64f6eda19c12e7e1d5cc508132b4587a07ded076
parent438e4b826c77baaa0668dc3c9ab1a7abbd9df982
scripts-pnmtologo-fix-for-plain-pbm-checkpatch-fixes

ERROR: do not initialise statics to 0 or NULL
#24: FILE: scripts/pnmtologo.c:77:
+static int is_plain_pbm = 0;

WARNING: line over 80 characters
#33: FILE: scripts/pnmtologo.c:108:
+  * between the digits. This is Ok cause we know a PBM can only have a '1'

total: 1 errors, 1 warnings, 25 lines checked

./patches/scripts-pnmtologo-fix-for-plain-pbm.patch has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Andreas Bießmann <andreas@biessmann.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/pnmtologo.c