]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitc11230f44b3c3e055e4e7cd572fc1c4a22c6f4a9
treec6181aa0d144506cc0e08147b3ed6a60d8ff06f5
parent76ae281f6307331aa063288edb6422ae99f435f0
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