From patchwork Wed Jun 7 13:56:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 104530 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp232134vqr; Wed, 7 Jun 2023 07:16:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ44+hpHzj2vTOQU2GK62CcXsuihVwLrlkoJxgKHdkfFUKD9S1qz0YwGMOFzjm6jFLNFLjUp X-Received: by 2002:a17:902:db0f:b0:1af:981b:eeff with SMTP id m15-20020a170902db0f00b001af981beeffmr5376560plx.64.1686147362805; Wed, 07 Jun 2023 07:16:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686147362; cv=none; d=google.com; s=arc-20160816; b=aB0LB33bBs8/ArIyy23o0akWBVPyXWVhGbdBjdCBTJSv2R7WjuEVL+3kY5Sqtkq/w4 ts2ksnftuji4A2mIc9A3sh9UgTB+BO2mjZwpdf/YatGiGEsBDnoDJYcyO9Burtp/zE9R sE0T4HwdUGEDhUA+vfXnKSq+xpOhGqsSoKLox5zWfi/YuuwLDK6daOcbz7nhfdn/5VmW NOqQvmys3VZOLKCiOdLCQNw2qyTPNn6yKo6smXPaXLUIQFrQ9QfbGW9IO6PxxJyxjDik /uab/VAZZqAN4URMeDTWsHKos5JlpopKuigBDt5CWvJlD88ckSOkpHdg/Lwg8q/x8GDf 4GkQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9hRoTzu+ly7Cf0Zo6mlsJ/mXYYh8jVQI6mBbTOCGo+4=; b=z68+I4kUkj43AF2+FWGl8jJ20YoLmYNNekoZcxw8BGt9RJYO44iP75wW17bOPqDAvC zyBHtMvjinVw0+WfNVSB+TGzkh2HXbVblwo5TDymbJlfHIL21rD6ciWphP98sTT04sha pt3msHfW1G+I6H3QAEHzG2tW4626oKVyTojf7rIH/Ov8tgDsYRYGgnkWwbMutsUUlSWb JTN2ltLM1mktaXY2ytZO4qZlEQYHK67/YWdeyKzdAvkCP4h4RSBX6yEpT46bAoKmqlz/ uQmzj/OvLS31Wsu+VOWqkzr+BoZKtmFV2XVH5iTWlzCSbyWBepnCqZ97O/mwsGbs/985 n8AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cBhVEDK+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a14-20020a170902ecce00b001adf26b357bsi1349025plh.631.2023.06.07.07.15.46; Wed, 07 Jun 2023 07:16:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cBhVEDK+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239870AbjFGN5A (ORCPT + 99 others); Wed, 7 Jun 2023 09:57:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239861AbjFGN45 (ORCPT ); Wed, 7 Jun 2023 09:56:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B9CB1BEA for ; Wed, 7 Jun 2023 06:56:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 08F0163F99 for ; Wed, 7 Jun 2023 13:56:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AE65C433EF; Wed, 7 Jun 2023 13:56:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686146215; bh=r/dkeieRe+CBoWvVAbirfQe75r6oLh/K8kfqL8af9hg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cBhVEDK+bGfJNxNkcrFUiig1oWzsBWPMPtjov+xF+5agQV6NYtYaDfU7xTAQhH/XW hTHp1n1g4wkwBygN4PCLDkJ0a4yY/eZiaTUHURRV/vnnjH38RAXjedh3la9SF1dO/f OTKHTuhKrNavhhi+tRgkpaJ/WIlLocnI28wpcHnV1lScn2fUyf3D1I1MZlc29ofQiP LPsDLGGbkQPSZPNEGFbUmqbGG9OLZaGVHnA+CyKbxWgUu7zN8VwSQijOq8sYjz/LVt bs254+DnLjkTQpPyQx9CYn4LZfWqVmViL+Mr6JA4o38CJ2wt2Al8OmCXcWTPi5CH1m Zl8I09ruBqFhQ== From: Arnd Bergmann To: Joyce Ooi , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Chevallier , Simon Horman Cc: Arnd Bergmann , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] net: altera-tse: fix broken Kconfig dependency Date: Wed, 7 Jun 2023 15:56:33 +0200 Message-Id: <20230607135638.1341101-2-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230607135638.1341101-1-arnd@kernel.org> References: <20230607135638.1341101-1-arnd@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768053657108183897?= X-GMAIL-MSGID: =?utf-8?q?1768053657108183897?= From: Arnd Bergmann The CONFIG_PCS_ALTERA_TSE symbol is gone, so make sure the ethernet driver selects the correct symbol for its replacement, avoiding: x86_64-linux-ld: drivers/net/ethernet/altera/altera_tse_main.o: in function `altera_tse_remove': altera_tse_main.c:(.text+0xdf): undefined reference to `lynx_pcs_destroy' Fixes: 196eec4062b00 ("net: pcs: Drop the TSE PCS driver") Signed-off-by: Arnd Bergmann --- drivers/net/ethernet/altera/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/altera/Kconfig b/drivers/net/ethernet/altera/Kconfig index 93533ba034294..17985319088c1 100644 --- a/drivers/net/ethernet/altera/Kconfig +++ b/drivers/net/ethernet/altera/Kconfig @@ -4,7 +4,7 @@ config ALTERA_TSE depends on HAS_DMA select PHYLIB select PHYLINK - select PCS_ALTERA_TSE + select PCS_LYNX select MDIO_REGMAP select REGMAP_MMIO help