]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - scripts/kconfig/conf.c
kconfig: loop as long as we changed some symbols in randconfig
[karo-tx-linux.git] / scripts / kconfig / conf.c
index 38616c14c0711c2780bf7509a357ec12935b2317..d19944f9c3acb9e6004ca13a1f6e4444174a5359 100644 (file)
@@ -654,7 +654,8 @@ int main(int ac, char **av)
                conf_set_all_new_symbols(def_default);
                break;
        case randconfig:
-               conf_set_all_new_symbols(def_random);
+               /* Really nothing to do in this loop */
+               while (conf_set_all_new_symbols(def_random)) ;
                break;
        case defconfig:
                conf_set_all_new_symbols(def_default);