summaryrefslogtreecommitdiff
path: root/scripts/basic/docproc.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-06-20 10:19:49 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-20 10:19:49 -0700
commitad5cf46b4e3b29f2bc08543e8ef0bf8b13d3f19e (patch)
tree302266c69730de99546f1f5020e9fe134a0b47bf /scripts/basic/docproc.c
parent93db6294958f62643a917e44d1abc85440e600cf (diff)
parente34e7dbb35474ffc75f639eca64a18a15f4f8688 (diff)
downloadlwn-ad5cf46b4e3b29f2bc08543e8ef0bf8b13d3f19e.tar.gz
lwn-ad5cf46b4e3b29f2bc08543e8ef0bf8b13d3f19e.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes: kernel-doc: fix param matching for array params kernel-doc: ignore kmemcheck_bitfield_begin/end kallsyms: fix inverted valid symbol checking kbuild: fix build error during make htmldocs
Diffstat (limited to 'scripts/basic/docproc.c')
-rw-r--r--scripts/basic/docproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/basic/docproc.c b/scripts/basic/docproc.c
index 4c9523ef9c00..99ca7a698687 100644
--- a/scripts/basic/docproc.c
+++ b/scripts/basic/docproc.c
@@ -385,7 +385,7 @@ int main(int argc, char *argv[])
if (!srctree)
srctree = getcwd(NULL, 0);
kernsrctree = getenv("KBUILD_SRC");
- if (!kernsrctree)
+ if (!kernsrctree || !*kernsrctree)
kernsrctree = srctree;
if (argc != 3) {
usage();