diff options
Diffstat (limited to 'scripts/basic/fixdep.c')
-rw-r--r-- | scripts/basic/fixdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c index 6bc7e7cfccf6..8912c0f5460b 100644 --- a/scripts/basic/fixdep.c +++ b/scripts/basic/fixdep.c | |||
@@ -249,6 +249,8 @@ void parse_config_file(char *map, size_t len) | |||
249 | found: | 249 | found: |
250 | if (!memcmp(q - 7, "_MODULE", 7)) | 250 | if (!memcmp(q - 7, "_MODULE", 7)) |
251 | q -= 7; | 251 | q -= 7; |
252 | if( (q-p-7) < 0 ) | ||
253 | continue; | ||
252 | use_config(p+7, q-p-7); | 254 | use_config(p+7, q-p-7); |
253 | } | 255 | } |
254 | } | 256 | } |