checkpatch: don't try to get maintained status when --no-tree is given
authorJerome Forissier <jerome.forissier@linaro.org>
Tue, 13 Dec 2016 00:46:23 +0000 (16:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Dec 2016 02:55:10 +0000 (18:55 -0800)
commitf2c19c2f380fcfdc85eb750016d73f7cd3e77573
tree7be337aca22e6ea49ceab1214af2f37f3ca5880a
parenta2ef9471c771427c2ddd56677b8de45021f6fd71
checkpatch: don't try to get maintained status when --no-tree is given

Fixes the following warning:

  Use of uninitialized value $root in concatenation (.) or string at /path/to/checkpatch.pl line 764.

Link: http://lkml.kernel.org/r/1476719709-16668-1-git-send-email-jerome.forissier@linaro.org
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl