Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp720790pxb; Thu, 12 Nov 2020 14:53:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJysMP+5kt0XyiPXRg0DGoTgI1CNFsiMcOJUbFcGcRY/pvQiijonzs+IEEgE6V63Lq0JJEPX X-Received: by 2002:a17:906:2e08:: with SMTP id n8mr1686178eji.440.1605221588672; Thu, 12 Nov 2020 14:53:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605221588; cv=none; d=google.com; s=arc-20160816; b=bnKp9H7YyDN2LWcaN83Ww5q984I7I14UF0ieMVccLb0xnZ+5G0iA96WEZStbOwojjd kf+mHx+GpZZd1wi5wlEGPbDPdM58AhTJ68msxhaykrjLPAoQuleeLuV1vxcJn732U95U OSW6j5z9qQrvbpgDbVIxhmmKkFaBrmbTDriLxLsMFrpZHl847NYdVgip4m+jcRYvEAt0 Fg5WdsI/XENLor31zZdNCmSwrdfFK+sunAzclnKA7HCz5A3kbdWYX4ymc14H+Y2yr7oQ TdENEh+pU2bN+FliIVpBNbqXRDyVAkA0K4ytjTUrzHTkgslKGF4GyXcCa53ri1dfa8BM YUvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=zJP4hgSROZUivGVNDMHdz3Dnxl30gz5F7U8OPmxnkw8=; b=QoLST0DMSgk9iimDYbb8MmO4LDz+XBQU2oJZXy6iwB7UGcvtzW59M9USileZZrWE1X ABbGX+q47kPlrBZEK1S0iRmr/2NE5FxWiC2dL7o5xByGXJCH8wkKDEIlBBf8Lm79Fot4 x1ZsYHko9+FNwIPeQYVt7UL/z6Ra88AWWPekXWgyzv46F4YFQZ0HVICFXGEWb/lRgnGA XPzhHhJnZsG49aLbs00KQfizHU5C6H+zXHR156fWG6CVox5Hv03i1KvclAsBpCPbASxF d+U0+TkZRocCnjBJgZ0sxC4eDnCTZnVmMol8YgZeZe9r6+PadCoFfzwXvzG0JCDX1/zO /b7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w20si4558267ejc.387.2020.11.12.14.52.42; Thu, 12 Nov 2020 14:53:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727892AbgKLWuV (ORCPT + 99 others); Thu, 12 Nov 2020 17:50:21 -0500 Received: from elvis.franken.de ([193.175.24.41]:57145 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727558AbgKLWuU (ORCPT ); Thu, 12 Nov 2020 17:50:20 -0500 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1kdLQ2-0005gc-01; Thu, 12 Nov 2020 23:50:18 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id 9B8E3C4DE1; Thu, 12 Nov 2020 23:38:39 +0100 (CET) Date: Thu, 12 Nov 2020 23:38:39 +0100 From: Thomas Bogendoerfer To: Necip Fazil Yildiran Cc: hauke@hauke-m.de, szajec5@gmail.com, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, paul@pgazz.com, jeho@cs.utexas.edu Subject: Re: [PATCH] MIPS: BMC47xx: fix kconfig dependency bug for BCM47XX_SSB Message-ID: <20201112223839.GB19695@alpha.franken.de> References: <20201104164126.36399-1-fazilyildiran@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201104164126.36399-1-fazilyildiran@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 04, 2020 at 07:41:27PM +0300, Necip Fazil Yildiran wrote: > When BCM47XX_SSB is enabled and SSB_PCIHOST is disabled, it results in the > following Kbuild warning: > > WARNING: unmet direct dependencies detected for SSB_B43_PCI_BRIDGE > Depends on [n]: SSB [=y] && SSB_PCIHOST [=n] > Selected by [y]: > - BCM47XX_SSB [=y] && BCM47XX [=y] && PCI [=y] > > The reason is that BCM47XX_SSB selects SSB_B43_PCI_BRIDGE without > depending on or selecting SSB_PCIHOST while SSB_B43_PCI_BRIDGE depends on > SSB_PCIHOST. This can also fail building the kernel as demonstrated in a > bug report. > > Honor the kconfig dependency to remove unmet direct dependency warnings > and avoid any potential build failures. > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=210051 > Signed-off-by: Necip Fazil Yildiran > --- > arch/mips/bcm47xx/Kconfig | 1 + > 1 file changed, 1 insertion(+) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]