From patchwork Tue Jul 27 19:57:43 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Magnusson X-Patchwork-Id: 114609 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 o6RJqroM013854 for ; Tue, 27 Jul 2010 19:52:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752412Ab0G0Twl (ORCPT ); Tue, 27 Jul 2010 15:52:41 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:65166 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752389Ab0G0Twl (ORCPT ); Tue, 27 Jul 2010 15:52:41 -0400 Received: by eya25 with SMTP id 25so825871eya.19 for ; Tue, 27 Jul 2010 12:52:39 -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:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=zUEim0S6I0ZMsOP8WQABlLuvTVDOcu5dE5NGXti0/ag=; b=LqDfa1M2geF0FS5R8RmChv7AXhNjzt4+NhDNONv8wXOrk8FPdJ0qYgdyWFHA/NWjRW 1j4LwusH5d0mYqQ6iIMkSwJBXte2nLEfwhVPpsrdEw3lwVFQwbiy1NL+Z97dNFDBZL+r ICKOBbFQrjPzvaSJ8KyaLzoRoH2IaRwaeBYNQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=G++R+XvMChp8XrZlHoUIIWEoN+g70/Fg1nZv7m2wJT3CNEauxKws1mnZZ26TaZd9qK 6eUDUunbrCdqkMyM+nOAeRpXOAKm5fZ84bkRA/aM78VcDo2vsz6kTRQm+UPj+4Yb29Ip cbygdTE5UAgRzbpjQFuc/zE5KuqomPilw/tzw= Received: by 10.213.27.143 with SMTP id i15mr4613349ebc.38.1280260359012; Tue, 27 Jul 2010 12:52:39 -0700 (PDT) Received: from ulf (pat.se.opera.com [88.131.66.80]) by mx.google.com with ESMTPS id a48sm8127861eei.12.2010.07.27.12.52.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 27 Jul 2010 12:52:38 -0700 (PDT) Date: Tue, 27 Jul 2010 21:57:43 +0200 From: Ulf Magnusson To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 2.6.35-rc6] kconfig: fix MODULES-related bug in case of no .config Message-ID: <20100727195742.GA18079@ulf> References: <20100727192727.GA17954@ulf> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20100727192727.GA17954@ulf> 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:52:53 +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 21:48:07.471550551 +0200 @@ -170,8 +170,11 @@ if (in) goto load; sym_add_change_count(1); - if (!sym_defconfig_list) + if (!sym_defconfig_list) { + if (modules_sym) + sym_calc_value(modules_sym); return 1; + } for_all_defaults(sym_defconfig_list, prop) { if (expr_calc_value(prop->visible.expr) == no ||