kconfig: print the range of integer/hex symbol in help text
[pandora-kernel.git] / scripts / kconfig / expr.c
index d83f232..8f18e37 100644 (file)
@@ -1121,7 +1121,7 @@ static void expr_print_gstr_helper(void *data, struct symbol *sym, const char *s
        }
 
        str_append(gs, str);
-       if (sym)
+       if (sym && sym->type != S_UNKNOWN)
                str_printf(gs, " [=%s]", sym_str);
 }