Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp664379pxb; Tue, 3 Nov 2020 09:12:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+DAAAtXUBnj+/wvzLOwGONJepQW97xKk6xduXhSv/6o2m297ZSrUxLUT7GNz6vRExjTAt X-Received: by 2002:aa7:dc52:: with SMTP id g18mr23027927edu.369.1604423520112; Tue, 03 Nov 2020 09:12:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604423520; cv=none; d=google.com; s=arc-20160816; b=YdpxM1gab/Nrk97YX+FgfkKaLg8klg8vRzA/JwNE8Jz5qNX0Nx7EAis3C2js61jlSr e/3wBUlzuaESP7FESKYcY6OPzM66mZYx7Wlhr23JqRpKpgMCtdNK7aaRKMogEmeSeHAx 64cVd2fKX+hnthq/Aey/Cxp9/gAT/Lgt0SxYtkgZXTyKH1h0wv7YUbe+X5WrZkZVxsnT KJAHG53dYSnvTnhNLnFHcGghbgekUG0W8YVVStc+6Ebo8RjvZA8LC78KHH/kEycjkC+w iFkWna3fLIY0SfcwU5hoKdO9SzyfJHn80a/JWMh511LDcD7DSR1XDGxjw59wLfR4oAKX YTGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=ODeD0x7ElO6eIdUnPijicxhwFBWPndbt6bbowDq0Z2s=; b=Wttu/vxPdH6FRTpMF0q5jUN0UlcMXSnGzP4aoPMcFV/X+3RGsJwrDp7u/m0QOeEEhR CETm1T4agNHmRxAHDwfbwD/SHU9X6ZGPeT9+hfja7QIr03F3hR7Ix5DtAeGmpIxzlRbW DoVYdKbehsYbcFCshCr5QAlxZh9GpvImSu4mZPCBKGsAQyzgcW8Y9LaPhzPgv/Ti7L1H Wt+HukbDwiSs16L2biQ1QxWzWcBDkHXJzUIhXx1whVKO1ntG6fM19YerhwFjiXTFACD7 risyHz6o+AAt8x0r7cYtxDXovU7S6pQNKYtDWjhvZjDjQS2ApS7/iFSkBPGv//HIzqbw jT1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="Ez/tYUTg"; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ds19si11994295ejc.306.2020.11.03.09.11.34; Tue, 03 Nov 2020 09:12:00 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="Ez/tYUTg"; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728645AbgKCRJv (ORCPT + 99 others); Tue, 3 Nov 2020 12:09:51 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:43914 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728465AbgKCRJu (ORCPT ); Tue, 3 Nov 2020 12:09:50 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0A3H9jMG067737; Tue, 3 Nov 2020 11:09:45 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1604423385; bh=ODeD0x7ElO6eIdUnPijicxhwFBWPndbt6bbowDq0Z2s=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=Ez/tYUTgIkmQoJPRYb+DsbQPKRjNisw+E6xG87OqmM6X8kKWorrLGzPoQPSYA+916 Pyf30CwVCyAkukt56d7x9s7zPmbHIOFstMyfua/TdkYc9QewkioVkgINt89A6IQD/k 5BGh9/SF3WrF+upGXuY5r3lhD/azvCgXOtVlILkg= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0A3H9jJJ038733 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 3 Nov 2020 11:09:45 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 3 Nov 2020 11:09:44 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Tue, 3 Nov 2020 11:09:44 -0600 Received: from [10.250.36.55] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0A3H9iXP016645; Tue, 3 Nov 2020 11:09:44 -0600 Subject: Re: [PATCH net-next v3 4/4] net: phy: dp83td510: Add support for the DP83TD510 Ethernet PHY To: Jakub Kicinski CC: , , , , , , , References: <20201030172950.12767-1-dmurphy@ti.com> <20201030172950.12767-5-dmurphy@ti.com> <20201030160330.622c55a7@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> From: Dan Murphy Message-ID: <5b32a56b-f054-5790-c5cf-bf1e86403bad@ti.com> Date: Tue, 3 Nov 2020 11:09:44 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201030160330.622c55a7@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? > > > 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) { > > > 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. I know some maintainers like to keep the 80 LoC and some allow a longer line. Dan