]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: fix "Use of uninitialized value" warnings
authorJoe Perches <joe@perches.com>
Thu, 21 Nov 2013 22:31:57 +0000 (14:31 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Nov 2013 00:42:27 +0000 (16:42 -0800)
commit6f57d04740d831e8745cd18dd18b0e3955e33547
treec6181aa0d144506cc0e08147b3ed6a60d8ff06f5
parente11e2a4a19fd257d0392fb88a24f8c18bc35545f
checkpatch: fix "Use of uninitialized value" warnings

checkpatch is currently confused about some complex macros and references
undefined variables $stat and $cond.

Make sure these are defined before using them.

Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Gerhard Sittig <gsi@denx.de>
Acked-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl