From patchwork Sat Oct 9 21:45:01 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Marek X-Patchwork-Id: 243571 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o99LjaOY011455 for ; Sat, 9 Oct 2010 21:45:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756096Ab0JIVpf (ORCPT ); Sat, 9 Oct 2010 17:45:35 -0400 Received: from cantor2.suse.de ([195.135.220.15]:59314 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752756Ab0JIVpf (ORCPT ); Sat, 9 Oct 2010 17:45:35 -0400 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id D05168891E; Sat, 9 Oct 2010 23:45:33 +0200 (CEST) Received: by sepie.suse.cz (Postfix, from userid 10020) id B21B97653A; Sat, 9 Oct 2010 23:45:32 +0200 (CEST) From: Michal Marek To: linux-kbuild@vger.kernel.org Cc: catalin.marinas@arm.com, sfr@canb.auug.org.au, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, lacombar@gmail.com, xiyou.wangcong@gmail.com Subject: [PATCH] kconfig: Temporarily disable dependency warnings Date: Sat, 9 Oct 2010 23:45:01 +0200 Message-Id: <1286660701-31557-1-git-send-email-mmarek@suse.cz> X-Mailer: git-send-email 1.7.1 In-Reply-To: <20101008150343.GF4088@hack> References: <20101008150343.GF4088@hack> 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 (demeter1.kernel.org [140.211.167.41]); Sat, 09 Oct 2010 21:45:36 +0000 (UTC) diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c index 943712c..1f8b305 100644 --- a/scripts/kconfig/symbol.c +++ b/scripts/kconfig/symbol.c @@ -349,16 +349,18 @@ void sym_calc_value(struct symbol *sym) prop->visible.tri); } } calc_newval: +#if 0 if (sym->dir_dep.tri == no && sym->rev_dep.tri != no) { fprintf(stderr, "warning: ("); expr_fprint(sym->rev_dep.expr, stderr); fprintf(stderr, ") selects %s which has unmet direct dependencies (", sym->name); expr_fprint(sym->dir_dep.expr, stderr); fprintf(stderr, ")\n"); } +#endif newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri); } if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN) newval.tri = yes;