Message ID | 20231002193544.14529-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp1723671vqb; Mon, 2 Oct 2023 15:21:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGA/gC3xuXRzLJHoAgEu8dJgI/tPDn8zKcWSqDyOG6zCVSwPc1y5wloCqiYnhmagy6EYSUf X-Received: by 2002:a05:6808:a98:b0:3af:8050:369f with SMTP id q24-20020a0568080a9800b003af8050369fmr7610197oij.6.1696285267315; Mon, 02 Oct 2023 15:21:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696285267; cv=none; d=google.com; s=arc-20160816; b=RrLdAlRn62pbC3OrF36RVDVjOz3xILILv6UEW2osUlKjHWd5MzfoTTcq5q5GIptnlC tiNN5MD6RGJvIG/GNXBDUjL/shDncfctona1SjsWraTuSNLkALrEx5SOvmMM7VnJ+xmQ u6BcaCeL5rDYgEpAY9u8Y9tQJVe5vct3s+XvK+IzUPOJWRqv5pjYTKh51Pc7Oo3mDZ1g jPGUu9R9doHFW/gSkjalE/U9N3MPS2/pN508csB7wnQBYzz8V8Z+JQkLkxrXhtKJ/E8z ezCs+NGUV74HFNKAImNa6NaA1LQhmHtxA0PLHCFIjo3HqunuhuE91sh53uMJms0+6sZv rLyQ== 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=WBSG551xTpINGiPaoSlT0YJNNZU7wlH+dq+VeSa6y8s=; fh=ui1HrzQrdEqni8hztYGAfVdUdYWRT/rqU4BL9dcLWTY=; b=a76azjF3JaqADPytJhJjuNJLlog7SdMBWdXwKqNWdfp9ILmAXXu6SumMopOxhAsO3Y t84pBL4fE0sWerFOJN5qwN8FppRlh//M0zg9vRpSkEXXhhmuO/Y0E3YA1NCF1bVrQCoa P+r9qgL9xsLSPtIHrYf8s7ujAti98ZhbFvskcvBx4posKl3654QjHeO4WAajf0GD/r1m Bz8SvtGVN6Jj6dO34o+8PZ0kkeItbiMWitkVimp4GqbRwX3U16lbScbEefSGA5IZ2LtF 4BJybhOOThMKNUmNvnKxCfXvjgu8bwMUdanqeiDN/KuKheObhm5oC0wMxV4+L4MSj0Vc LXQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="4WWmj/xv"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id i18-20020a17090adc1200b0026376acd6fesi8053242pjv.22.2023.10.02.15.21.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 15:21:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="4WWmj/xv"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 5C47C8074507; Mon, 2 Oct 2023 12:35:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238881AbjJBTfw (ORCPT <rfc822;pusanteemu@gmail.com> + 18 others); Mon, 2 Oct 2023 15:35:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238886AbjJBTfu (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 2 Oct 2023 15:35:50 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02A5BDC; Mon, 2 Oct 2023 12:35:48 -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: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=WBSG551xTpINGiPaoSlT0YJNNZU7wlH+dq+VeSa6y8s=; b=4WWmj/xvGXz42YVSOaxsoIbPti jLqMTFH2Xr05KWwT0WUmaw6aExnzj3aVTbnuDhi9s9PXQRjCx1oCeDl9F2I3SMjJGDHSiTfnxP3Fw Ap5HmbgMUS3mVaBgiXC9AEmnAjIkspsJqAzxlv/jQIyvh8doje9fvksZ9IHfQgmTJ6Cx9xFm7YPrP kwqSDUx3f7dbQssuP97ZrCn5K0YW3ZlSLhwovJLB/jikgQxA9Fw7BTycsfL8eVJKZnDHm7Pybn81G Plij3HFAI7MJgnewCpwsezzc/IYswh9yK9espoI2bj39o0kcxQ7gnEqLSaq1LmfIBakeiwgqeu9pk c574okOQ==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qnOhn-00DIVR-1z; Mon, 02 Oct 2023 19:35:47 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, kernel test robot <lkp@intel.com>, Bryan Whitehead <bryan.whitehead@microchip.com>, UNGLinuxDriver@microchip.com, Simon Horman <horms@kernel.org>, netdev@vger.kernel.org, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com> Subject: [PATCH v2] net: lan743x: also select PHYLIB Date: Mon, 2 Oct 2023 12:35:44 -0700 Message-ID: <20231002193544.14529-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 02 Oct 2023 12:35:55 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778684020551435341 X-GMAIL-MSGID: 1778684020551435341 |
Series |
[v2] net: lan743x: also select PHYLIB
|
|
Commit Message
Randy Dunlap
Oct. 2, 2023, 7:35 p.m. UTC
Since FIXED_PHY depends on PHYLIB, PHYLIB needs to be set to avoid
a kconfig warning:
WARNING: unmet direct dependencies detected for FIXED_PHY
Depends on [n]: NETDEVICES [=y] && PHYLIB [=n]
Selected by [y]:
- LAN743X [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICROCHIP [=y] && PCI [=y] && PTP_1588_CLOCK_OPTIONAL [=y]
Fixes: 73c4d1b307ae ("net: lan743x: select FIXED_PHY")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: lore.kernel.org/r/202309261802.JPbRHwti-lkp@intel.com
Cc: Bryan Whitehead <bryan.whitehead@microchip.com>
Cc: UNGLinuxDriver@microchip.com
Cc: Simon Horman <horms@kernel.org>
Cc: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
---
v2: Also Cc: netdev and Microchip people;
drivers/net/ethernet/microchip/Kconfig | 1 +
1 file changed, 1 insertion(+)
Comments
On Mon, Oct 02, 2023 at 12:35:44PM -0700, Randy Dunlap wrote: > Since FIXED_PHY depends on PHYLIB, PHYLIB needs to be set to avoid > a kconfig warning: > > WARNING: unmet direct dependencies detected for FIXED_PHY > Depends on [n]: NETDEVICES [=y] && PHYLIB [=n] > Selected by [y]: > - LAN743X [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICROCHIP [=y] && PCI [=y] && PTP_1588_CLOCK_OPTIONAL [=y] > > Fixes: 73c4d1b307ae ("net: lan743x: select FIXED_PHY") > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Reported-by: kernel test robot <lkp@intel.com> > Closes: lore.kernel.org/r/202309261802.JPbRHwti-lkp@intel.com Reviewed-by: Simon Horman <horms@kernel.org> Tested-by: Simon Horman <horms@kernel.org> # build-tested
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <kuba@kernel.org>: On Mon, 2 Oct 2023 12:35:44 -0700 you wrote: > Since FIXED_PHY depends on PHYLIB, PHYLIB needs to be set to avoid > a kconfig warning: > > WARNING: unmet direct dependencies detected for FIXED_PHY > Depends on [n]: NETDEVICES [=y] && PHYLIB [=n] > Selected by [y]: > - LAN743X [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICROCHIP [=y] && PCI [=y] && PTP_1588_CLOCK_OPTIONAL [=y] > > [...] Here is the summary with links: - [v2] net: lan743x: also select PHYLIB https://git.kernel.org/netdev/net/c/566aeed6871a You are awesome, thank you!
diff -- a/drivers/net/ethernet/microchip/Kconfig b/drivers/net/ethernet/microchip/Kconfig --- a/drivers/net/ethernet/microchip/Kconfig +++ b/drivers/net/ethernet/microchip/Kconfig @@ -46,6 +46,7 @@ config LAN743X tristate "LAN743x support" depends on PCI depends on PTP_1588_CLOCK_OPTIONAL + select PHYLIB select FIXED_PHY select CRC16 select CRC32