From patchwork Thu Oct 12 22:08:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 152203 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1525133vqb; Thu, 12 Oct 2023 15:09:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFsyD83q2hAA+RLHjzgtDU1GD8rqq/TcAZqbg9GpKQ8e4yfxvGXzS0DYqUKG9u4iSlbyFuq X-Received: by 2002:a05:6358:e908:b0:147:47f2:2d54 with SMTP id gk8-20020a056358e90800b0014747f22d54mr21857813rwb.0.1697148552987; Thu, 12 Oct 2023 15:09:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697148552; cv=none; d=google.com; s=arc-20160816; b=GCMBIjK/spFvoud5YBdEYCLgsHshGogV0lCLWqMDWdKKaxOqkqTHFfZ5r/l3kwmvtr 0n0+eMuB3EmMDeB/wJj+nMItqNMrJO4IaOvXJXxFmZmpggGeEd/sL8+a22jLXCck4YEZ CChHMtPCtp2S/r2uNVInXMzIdQ53OVdPvfEU+vgqLN+ug3dJ9Q9kz2SNt1gbnuJxCwWr ixeB4PuJS0195LGHSJNxrAnCOOh5Y0ADSQE1O0KOTQBs0xN6KhIGJpEiMgJZXf+EO4qj Hf88qqJ3hu6SaJ2RDW2OoDnWgWhjJyqEtfhg2VeX9Vrz5gpDZYcwxCTxhz+/wEofk2e4 zlHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=dDElEQ/Hy78MZ6C3DN/kz0Nu3cGEbr0+ql35LbBENLU=; fh=SmO6UOnCMh5xqOBD8x+4vH2eEWjP4wsCG5xLoG1AaVU=; b=Gx56hFJGLLmgjvua6/5i0ikY9zHaxMUcIIMrSMcIvFNnbZ/m4A7V7RC6xjp0dOoJ/k oMe4UtYLDM0ENQNHknQooKX+hat6c75h5xycwFPLj8jQe7+37Ka9PYR0Xmj89hGmSXV1 L8Z+jJAKvMjs0PBVehA2ohzwM6riJCF+PqP0PaV++lZB+C2nEpm4ia7j2giIK0l5Nf80 oGPATb7ZMn8h6RX7u4nZnyGHLxgn0pBTwNQ0UyNHo8XJp3xSecIlU8QcCfSAJ01HioKr JmiT+b0rX8YoS+Ai+phHrg0SMBPN0BgIGW9eWfbY+ZcJaQKf19QN0Wfo805mkrsr/b9O Hx2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ZMjjYL+r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id k4-20020a056a00134400b0069026fd5a48si15896514pfu.34.2023.10.12.15.09.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 15:09:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ZMjjYL+r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id D583481D68C5; Thu, 12 Oct 2023 15:09:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443004AbjJLWJB (ORCPT + 19 others); Thu, 12 Oct 2023 18:09:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235779AbjJLWJA (ORCPT ); Thu, 12 Oct 2023 18:09:00 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0023C9; Thu, 12 Oct 2023 15:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=dDElEQ/Hy78MZ6C3DN/kz0Nu3cGEbr0+ql35LbBENLU=; b=ZMjjYL+r3FfiVDPiMZmbEY8weu 1M94xpXvKXTYtiPrzuoRtAl23GOobOiaK/R4kbcIfvbYCdhWI8gDH+VYEE9NXNqVosGV+FX8F+y+G KqpwXqxZG7zHOM1BuvN9/mHEVELa7gzBB1bLGmri9xucJQ078ETChmo2WkLvsmsPmEhrIsmbkEuWh e3ip3AjtGuNpBKbDdw71WZYvSsMS8Q4W/JflV7EPy8u7Seac+rOY05vV8CM+ets5MQjmT/684U/Ef kmVQ7re8m/0dVBPjRi8W7qiDmXxqoic1iiMmLpR66slohnV3e7xSoLwPG2G7wSiDVZUsXCSiGZuMs 0Nb50CrQ==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qr3rW-001xf1-2O; Thu, 12 Oct 2023 22:08:58 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , =?utf-8?q?Michael_B=C3=BCsch?= , linux-wireless@vger.kernel.org, Kalle Valo Subject: [PATCH] ssb: relax SSB_EMBEDDED dependencies Date: Thu, 12 Oct 2023 15:08:55 -0700 Message-ID: <20231012220856.23260-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 12 Oct 2023 15:09:10 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779589240922163003 X-GMAIL-MSGID: 1779589240922163003 This is a kconfig warning in a randconfig when CONFIG_PCI is not set: WARNING: unmet direct dependencies detected for SSB_EMBEDDED Depends on [n]: SSB [=y] && SSB_DRIVER_MIPS [=y] && SSB_PCICORE_HOSTMODE [=n] Selected by [y]: - BCM47XX_SSB [=y] && BCM47XX [=y] This is caused by arch/mips/bcm47xx/Kconfig's symbol BCM47XX_SSB selecting SSB_EMBEDDED when CONFIG_PCI is not set. This warning can be prevented by altering SSB_EMBEDDED to allow for PCI=n or the former SSB_PCICORE_HOSTMODE. Signed-off-by: Randy Dunlap Acked-by: Michael Büsch Cc: linux-wireless@vger.kernel.org Cc: Kalle Valo --- drivers/ssb/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -- a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig --- a/drivers/ssb/Kconfig +++ b/drivers/ssb/Kconfig @@ -134,7 +134,8 @@ config SSB_SFLASH # Assumption: We are on embedded, if we compile the MIPS core. config SSB_EMBEDDED bool - depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE + depends on SSB_DRIVER_MIPS + depends on PCI=n || SSB_PCICORE_HOSTMODE default y config SSB_DRIVER_EXTIF