Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2893327pxb; Mon, 18 Apr 2022 10:26:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbtpi7LULnGzAc4Gxkchrep4HchGptuiq5A129+4nWqdSNkafnbeyagFne/LWLJMfg4VSb X-Received: by 2002:a17:90a:b307:b0:1bd:37f3:f0fc with SMTP id d7-20020a17090ab30700b001bd37f3f0fcmr19477693pjr.132.1650302796834; Mon, 18 Apr 2022 10:26:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650302796; cv=none; d=google.com; s=arc-20160816; b=1ClMPdBBC5c7mLC9/2YR9kwWDR5JNk6s1Z9AASLL0blNB1Ww9pEyksLSb0hP+sYfWZ Fz1ZebAw92fLdE3rx9T63v/0Q2aaR0wy3q99ZhrVBPkGZqMr4v0DXU4eekbn/hFOSNSb DHiPCb1VRQfSCxLi8yHojyqpuXNLDxagI32ovG099vtBoDK0mISb43MG0xfvbUkhlngJ sP5fg+wv8ecCvcg9j/uJa/6QJQZE2xMWjoMefiBztfgmI5tnDrt2+o8qrbPbKPCH6f7C V6MSu4xygLcZqXeuNovOBxjKQg3KjjncBseoNm1bYjFYPmPNKPFEInd0RGfoFkBlQIeE 19IA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Nmsl4JDp1Hkrj+CrMN3l6/L+CkyG2ElIICQyIdm9uaA=; b=Sk1RC0URBPyF0DU0T+a9fGAHZ482YXl7oYi0KsHKkB+c2cm+aaUjvOUj8QEaBdAedn QWMNwT0MbaKTWptxIy6pnY/En6reU7QzHwZOf7hsO6Rg4Ltx//Mn4sd+Zlwjlx6B1SK9 dWulygkZOImlM2vA8//yiptRgbdQsJMXAAh8g7jywcytAzRpu6rX0QeHIcNRUyMQXPaB WtW03Sfp+q4fxXH0dhWzq0fRQmCINeYL3v+KtiM25oFH6a0XF9XVs7EpCS1CmypmVxNv C3fVBQ+Aks2ZTb72vm5mOR5juNVBUeE5l31POytKdMzUPWatu5LtKjm8r9gg4Y7y+bqm 5xdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VDaBMMTm; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k6-20020a170902c40600b00158695aa2eesi10757733plk.263.2022.04.18.10.26.20; Mon, 18 Apr 2022 10:26:36 -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=@linuxfoundation.org header.s=korg header.b=VDaBMMTm; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239276AbiDRMco (ORCPT + 99 others); Mon, 18 Apr 2022 08:32:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239722AbiDRM2n (ORCPT ); Mon, 18 Apr 2022 08:28:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A268322287; Mon, 18 Apr 2022 05:22:26 -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 3228260EF4; Mon, 18 Apr 2022 12:22:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45B74C385A7; Mon, 18 Apr 2022 12:22:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650284545; bh=/SrTrWU+LeV3TKzN5aOB97yjjBF+58xluB+OKVYBegw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VDaBMMTmePKadcGAR8Ky7IVEC3KDo5T7ur+6z89ZlTxsiIlAkz1tswBt/os5sahed ubwzRFZ0qipYAtZ0cVnASVrmPJJsFWXdrM6v+THQHBUdhQkYfYxYCBOrnZe/J7Vp3h QvxAwRk7exA1bdg6aeq+aCxq0ra+ka8Eh+TGCjfE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Sasha Levin Subject: [PATCH 5.17 150/219] net: micrel: fix KS8851_MLL Kconfig Date: Mon, 18 Apr 2022 14:11:59 +0200 Message-Id: <20220418121211.086269627@linuxfoundation.org> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220418121203.462784814@linuxfoundation.org> References: <20220418121203.462784814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 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 From: Randy Dunlap [ Upstream commit c3efcedd272aa6dd5929e20cf902a52ddaa1197a ] KS8851_MLL selects MICREL_PHY, which depends on PTP_1588_CLOCK_OPTIONAL, so make KS8851_MLL also depend on PTP_1588_CLOCK_OPTIONAL since 'select' does not follow any dependency chains. Fixes kconfig warning and build errors: WARNING: unmet direct dependencies detected for MICREL_PHY Depends on [m]: NETDEVICES [=y] && PHYLIB [=y] && PTP_1588_CLOCK_OPTIONAL [=m] Selected by [y]: - KS8851_MLL [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICREL [=y] && HAS_IOMEM [=y] ld: drivers/net/phy/micrel.o: in function `lan8814_ts_info': micrel.c:(.text+0xb35): undefined reference to `ptp_clock_index' ld: drivers/net/phy/micrel.o: in function `lan8814_probe': micrel.c:(.text+0x2586): undefined reference to `ptp_clock_register' Signed-off-by: Randy Dunlap Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Paolo Abeni Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/micrel/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/micrel/Kconfig b/drivers/net/ethernet/micrel/Kconfig index 93df3049cdc0..1b632cdd7630 100644 --- a/drivers/net/ethernet/micrel/Kconfig +++ b/drivers/net/ethernet/micrel/Kconfig @@ -39,6 +39,7 @@ config KS8851 config KS8851_MLL tristate "Micrel KS8851 MLL" depends on HAS_IOMEM + depends on PTP_1588_CLOCK_OPTIONAL select MII select CRC32 select EEPROM_93CX6 -- 2.35.1