From patchwork Tue Jul 27 19:27:27 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Magnusson X-Patchwork-Id: 114602 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 o6RJNLok008858 for ; Tue, 27 Jul 2010 19:23:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752269Ab0G0TWj (ORCPT ); Tue, 27 Jul 2010 15:22:39 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:40428 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752098Ab0G0TWa (ORCPT ); Tue, 27 Jul 2010 15:22:30 -0400 Received: by eya25 with SMTP id 25so818340eya.19 for ; Tue, 27 Jul 2010 12:22:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=EejHsV/J+pIhySAx2p4vfaATl0x3mab8YLzyxPldLak=; b=J3sAVcsfktH2kRoO/YhpO5r1EX9Dlr0VnF0+c4g2KWStJI0Kx/Fg2HkEIhwqAJg0Ko d1hoditE+Yay0bEncNT65WlZiD/kMhaXltYCdsLar3geAKcPvYZ12rTasSkMOljUqzGl YcC7S9rBbG5UF0aW+jFqoDXTAZWsWJyHKtyB0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=ke+C14FnWb+PwA6CQiaM7S2n9HU/10N6O4qdr1ZYJUfn/IpXsELwqw4wzb5EQma8X1 501JMJiZFC2yopYKm89CYac+G2d3KW6peXUqDKmCCOt3fKQJXc2c9istY513znsCFNYn szZfVRhA6bt7PbZS38CL6nc0fGopNuTakaBx4= Received: by 10.14.127.200 with SMTP id d48mr1418753eei.68.1280258547458; Tue, 27 Jul 2010 12:22:27 -0700 (PDT) Received: from ulf (pat.se.opera.com [88.131.66.80]) by mx.google.com with ESMTPS id v8sm8085019eeh.8.2010.07.27.12.22.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 27 Jul 2010 12:22:27 -0700 (PDT) Date: Tue, 27 Jul 2010 21:27:27 +0200 From: Ulf Magnusson To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 2.6.35-rc6] kconfig: fix MODULES-related bug in case of no .config Message-ID: <20100727192727.GA17954@ulf> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) 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]); Tue, 27 Jul 2010 19:23:38 +0000 (UTC) diff -uNr linux.vanilla/scripts/kconfig/confdata.c linux.new/scripts/kconfig/confdata.c --- linux.vanilla/scripts/kconfig/confdata.c 2010-07-27 16:47:43.443006287 +0200 +++ linux.new/scripts/kconfig/confdata.c 2010-07-27 16:50:19.795005537 +0200 @@ -170,8 +170,10 @@ if (in) goto load; sym_add_change_count(1); - if (!sym_defconfig_list) + if (!sym_defconfig_list) { + sym_calc_value(modules_sym); return 1; + } for_all_defaults(sym_defconfig_list, prop) { if (expr_calc_value(prop->visible.expr) == no ||