From patchwork Sat Aug 14 12:43:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 119572 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o7EChWsn011581 for ; Sat, 14 Aug 2010 12:43:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756221Ab0HNMnb (ORCPT ); Sat, 14 Aug 2010 08:43:31 -0400 Received: from pfepa.post.tele.dk ([195.41.46.235]:34743 "EHLO pfepa.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756216Ab0HNMnb (ORCPT ); Sat, 14 Aug 2010 08:43:31 -0400 Received: from merkur.ravnborg.org (x1-6-00-1e-2a-84-ae-3e.k225.webspeed.dk [80.163.61.94]) by pfepa.post.tele.dk (Postfix) with ESMTP id 413B0A50032; Sat, 14 Aug 2010 14:43:29 +0200 (CEST) Date: Sat, 14 Aug 2010 14:43:29 +0200 From: Sam Ravnborg To: Michal Marek , linux-kbuild , lkml Subject: [PATCH] Message-ID: <20100814124329.GA28377@merkur.ravnborg.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 14 Aug 2010 12:43:32 +0000 (UTC) diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c index e95718f..943712c 100644 --- a/scripts/kconfig/symbol.c +++ b/scripts/kconfig/symbol.c @@ -937,6 +937,8 @@ static void sym_check_print_recursive(struct symbol *last_sym) sym = stack->sym; next_sym = stack->next ? stack->next->sym : last_sym; prop = stack->prop; + if (prop == NULL) + prop = stack->sym->prop; /* for choice values find the menu entry (used below) */ if (sym_is_choice(sym) || sym_is_choice_value(sym)) {