Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp673122pxb; Tue, 3 Nov 2020 09:24:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzYRyGYWKozLJkDKvC9jQtoBN9gWsa/hkKxy2s79uQPnguzFSRFCs8UbArKSvazs0y68K2s X-Received: by 2002:a17:906:6409:: with SMTP id d9mr21154600ejm.344.1604424249857; Tue, 03 Nov 2020 09:24:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604424249; cv=none; d=google.com; s=arc-20160816; b=fc+Dsa14Q3DyDDBB82PSySedg610SC+CvWbqb0zFbBFJQZ5J5nOEU8xqBdp4BM6UGr ZEtfCLelL6cCBF1nk2I66NsCIMxuBK3h6z+JYLf36I3mjhPn23Z1CmBT3+xXuOMOiWGu YKa6L9RRyyeJioz5/SEh+umW6t2tH1BlLVelgsBsun5tl+TVioo0O43tHNbFAjT4ZpMw etELGRZudtHs6eVVI3FGhPikMMU30fVhvqyjyIuHVEAOlTyykAs6PisUPq49dSUtjDwa yiEBgALUyc01qc8tD0EuJhbCVpc+hWL9yuSexIFJaUbo5vVqbGMEd+9Nn11q0pBGhZmW kxqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=lCIjS+PbMSBzjXpa+NK8z+84zSok4E8UjWJ+n9xaEdI=; b=qGfzkRYMN1c/T5chzLV0f53NpQztNvvRjKTe+BeRuFUKDv1H+74YiJcjwznuQPNuKU HkHUG9h7Bd52hgclEsGM45NxvywU1yCUFl3M08JD+NcVPwpBfUxX+PurNoNUGj+UU2OM RIsPrlxy2s3Zz5L4pvJEQS2MvGnl8W8xH5RIRkm4M4aIfP/Q3DDqL+mB0yARqlGdv5BY jbDR24tpjghfHkrRDmtQWf0fWxft0dysLRcVsV7dxBuqBDbaSe7J1pcQRBI+c37+ZEaG aNIVuWqxpSbkWXmS0zTHSH0LVahqYonYHVLDLOIW/aJQVzwfb/E7JGVxIGhsDTrubi5X +EUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b7si3037655edz.277.2020.11.03.09.23.45; Tue, 03 Nov 2020 09:24:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728415AbgKCRWA (ORCPT + 99 others); Tue, 3 Nov 2020 12:22:00 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:33016 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727706AbgKCRWA (ORCPT ); Tue, 3 Nov 2020 12:22:00 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1ka00H-00540Y-TL; Tue, 03 Nov 2020 18:21:53 +0100 Date: Tue, 3 Nov 2020 18:21:53 +0100 From: Andrew Lunn To: Dan Murphy Cc: Jakub Kicinski , davem@davemloft.net, f.fainelli@gmail.com, hkallweit1@gmail.com, robh@kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v3 4/4] net: phy: dp83td510: Add support for the DP83TD510 Ethernet PHY Message-ID: <20201103172153.GO1042051@lunn.ch> References: <20201030172950.12767-1-dmurphy@ti.com> <20201030172950.12767-5-dmurphy@ti.com> <20201030160330.622c55a7@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> <5b32a56b-f054-5790-c5cf-bf1e86403bad@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5b32a56b-f054-5790-c5cf-bf1e86403bad@ti.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 03, 2020 at 11:09:44AM -0600, Dan Murphy wrote: > Hello > > On 10/30/20 6:03 PM, Jakub Kicinski wrote: > > On Fri, 30 Oct 2020 12:29:50 -0500 Dan Murphy wrote: > > > The DP83TD510E is an ultra-low power Ethernet physical layer transceiver > > > that supports 10M single pair cable. > > > > > > The device supports both 2.4-V p2p and 1-V p2p output voltage as defined > > > by IEEE 802.3cg 10Base-T1L specfications. These modes can be forced via > > > the device tree or the device is defaulted to auto negotiation to > > > determine the proper p2p voltage. > > > > > > Signed-off-by: Dan Murphy > > drivers/net/phy/dp83td510.c:70:11: warning: symbol 'dp83td510_feature_array' was not declared. Should it be static? > I did not see this warning. Did you use W=1? I _think_ that one is W=1. All the PHY drivers are W=1 clean, and i want to keep it that way. And i hope to make it the default in a lot of the network code soon. > > Also this: > > > > WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP > > #429: FILE: drivers/net/phy/dp83td510.c:371: > > + return -ENOTSUPP; > > > > WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP > > #524: FILE: drivers/net/phy/dp83td510.c:466: > > + return -ENOTSUPP; > Same with these warnings how where they reproduced? > > > > ERROR: space required before the open parenthesis '(' > > #580: FILE: drivers/net/phy/dp83td510.c:522: > > + if(phydev->autoneg) { > > > > ERROR: space required before the open parenthesis '(' > > #588: FILE: drivers/net/phy/dp83td510.c:530: > > + if(phydev->autoneg) { > > These look like checkpatch. > > > > And please try to wrap the code on 80 chars on the non trivial lines: > > What is the LoC limit for networking just for my clarification and I will > align with that. 80. I would not be too surprised to see checkpatch getting a patch to set it to 80 for networking code. Andrew