Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4455065rdh; Wed, 29 Nov 2023 01:53:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9IZ4dTyeA1H7tucJUSXAOYqTTNHjTTHjjrjezuGA/TRNs8F3rey2haoinGNI1ceEKFRJd X-Received: by 2002:a05:6a21:7883:b0:187:932f:e249 with SMTP id bf3-20020a056a21788300b00187932fe249mr24782851pzc.4.1701251599543; Wed, 29 Nov 2023 01:53:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701251599; cv=none; d=google.com; s=arc-20160816; b=D98gmhZQVILTAcYNy8M2TL02XPUxgmq/K/baTltJBxJrbDGgigk8aXgWItZjcxPDT/ v/Vvw1zcK5P2pyQnfbwtnY991lCDgU/x9pzBtg0VFRMmATLJm2+ZOYmK9hxS32EsfzcG QDHwhV2kX5HH8iAiuya5GzKXo2svZREhgT8p5o6tBo5iUoiqllgZlczrot7lEfRNm3Q6 wegtFJzh7uKmmFDQ65T7Z4d56o4ILHR8FTHLzvgRbZ/b4RTD+1do1rb0TcBEsqDYCfF7 yEKNrga3wFfIPFQ3gHkOcb8Ab3OC4id30G/keqYB/fTyf5QQ+ZPH/JW5+oaB9UA3x1On 8+nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=QSUj5Hf27QAanj8NaPVwwZeZA3o2C5Q3Bi2HvrNaM/A=; fh=2M7VhQjoutm7+TLSQk6KyKOMKW2hojhjH1KY0cMqkNA=; b=Yg9dW4vBEqcRxSYWYFP44rwirzcgc3OjSpJUbkg/JY2ytzbY/0Of/agiBSWCphR//f BZGOuB26c3FAFQOeelLQ9v7BLPi/gspSM/SQvM6eGiPE/hrSdN8LxtUznpg3evTvZkRq SF/3dMjsJmEb5lrvRgd4+SkHevF4pUkw6YUwpoPOZ7O1W6Sghmo9PO5YF4Z99VXn3J1p fTpCrvv9w4j+xSyyVPr+0Qlq2qfboy2OtWAZpeDQ/oOJEBEJxCS+qrFuTwuDFlnR8tN5 +X8A1hLcVbAG8KcHMIS3HJYjkGrocmDTXZvk+RdPF7GJzMnsDc9Iqw70w/uPh4AjJ9tS 6L6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=on5VUU3t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id y15-20020a17090322cf00b001cff34e87a0si3903949plg.600.2023.11.29.01.53.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 01:53:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=on5VUU3t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id CA6A9805E51B; Wed, 29 Nov 2023 01:53:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229586AbjK2JxC (ORCPT + 99 others); Wed, 29 Nov 2023 04:53:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbjK2JxB (ORCPT ); Wed, 29 Nov 2023 04:53:01 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91C16D6C; Wed, 29 Nov 2023 01:53:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=QSUj5Hf27QAanj8NaPVwwZeZA3o2C5Q3Bi2HvrNaM/A=; b=on5VUU3tr5GEfHsjZFwUrgEY1l MDU8UIqQXuKAeIK+YVs7aaZFssQwkJ1FkdyCLY8JmKoftwt0BRgh934gGoX9IXCq6JpkLFV+b7bM8 PVG7kB3MrJOH01NqxhGgwoEEhteJIM0egKh9PO1mfriK1uJo7KUH7qWvJ1vsvS9xRSLBRIWTrBJCm Ys9nS0PIh3g1SpOM3Ud5blZGmBwiwkL3h883a4QpF3bB2yURKxINOWNzxSQfW/WbVrL5aW5fJKeAU f5SQcivuyurfikG1g69lKQ9qowm1fPftvDZp0mUtGwVCwVGBgbdT0xPjUV6a+kbKB7UB25NSU/8WD 3Bm5Z0eQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:50220) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1r8HFa-00005y-30; Wed, 29 Nov 2023 09:52:58 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1r8HFc-0003t4-Ni; Wed, 29 Nov 2023 09:53:00 +0000 Date: Wed, 29 Nov 2023 09:53:00 +0000 From: "Russell King (Oracle)" To: Christian Marangi Cc: Andrew Lunn , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [net-next PATCH 13/14] net: phy: qcom: deatch qca83xx PHY driver from at803x Message-ID: References: <20231129021219.20914-1-ansuelsmth@gmail.com> <20231129021219.20914-14-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231129021219.20914-14-ansuelsmth@gmail.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Wed, 29 Nov 2023 01:53:17 -0800 (PST) On Wed, Nov 29, 2023 at 03:12:18AM +0100, Christian Marangi wrote: > diff --git a/drivers/net/phy/qcom/Makefile b/drivers/net/phy/qcom/Makefile > index 6a68da8aaa7b..43e4d14df8ea 100644 > --- a/drivers/net/phy/qcom/Makefile > +++ b/drivers/net/phy/qcom/Makefile > @@ -1,2 +1,3 @@ > # SPDX-License-Identifier: GPL-2.0 > -obj-$(CONFIG_AT803X_PHY) += at803x.o > +obj-$(CONFIG_AT803X_PHY) += at803x.o common.o > +obj-$(CONFIG_QCA83XX_PHY) += qca83xx.o common.o These PHY drivers can be built as modules. You will end up with several modules - at803x.ko, qca83xx.ko and common.ko. You don't mark any functions in common.c as exported, no module license, no author, no description. common.ko is way too generic a name as well. Please think about this more and test building these drivers as a module. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!