kconfig: make use of menu_get_ext_help in gconfig
[firefly-linux-kernel-4.4.55.git] / scripts / kconfig / menu.c
index 931d782a2392ffbe14314f71b4994c967cdf0222..b74f746870052089f95ab92d15e6aa8a84a7188f 100644 (file)
@@ -528,5 +528,6 @@ void menu_get_ext_help(struct menu *menu, struct gstr *help)
        } else {
                str_append(help, nohelp_text);
        }
-       get_symbol_str(help, sym);
+       if (sym)
+               get_symbol_str(help, sym);
 }