Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8216428rwb; Tue, 13 Dec 2022 03:51:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf6cBI11PFUFzAXHS5mdrD3Ei17N60rxg+kozMUS+MHcdfW7kHwFhetmktaptKONZpFLu82E X-Received: by 2002:a17:902:dad1:b0:189:8513:f6f9 with SMTP id q17-20020a170902dad100b001898513f6f9mr27088401plx.18.1670932289587; Tue, 13 Dec 2022 03:51:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670932289; cv=none; d=google.com; s=arc-20160816; b=xnDAc0AxmM0FS8wlJcBut5QbdMfLslQL7trO1wqrHCLhOPEZzvpLbBNxgEY63PjbML kWM7DLLsWhyEdGqecSEMXcvk2KqgijEb5J09Ml5o9lEv7iqHQB0o2dhG0ZUWhrit34HU SIp2bVerjlCQpL9BZB/N9rvJRoGV/vrhxjE7JR901mUMnVREL4y6TRmo3ZUfG4VXmYkB k5aTfrOk/+7qWN+Yck5NEv/zQvjxchZz791gPBImMh9QJiKivMXIrbjwLmmQqG8V0AUt a+/LUUhIyezvpfD3fO/iW6s62TFJ3fNOXmMVyMkOlztxYWW1xX1C6uM3mGw9L0ZLIOZC GssQ== 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=hKDbF4ofJiHqsJGA4ylrAICZ0zQGFIcCyE1knfmOcuI=; b=mpsCm17MSnbTXaRk+65vYal2iIIqJWBBWTrhzYBH5yWlPho8Ml9JydxQS9Q2CaU+Ki jBdp6R0b6vW9P/CtDvIB5mwKTjgwrzesl4k/kiS/9a2zOzQ1H6gxhXWcaMNIENfZvsCu h9nqKC7nPfvGkwl5bFOCSV2TR55hntyT2uX4vlzOOTQ1ZjHpjf7lFlWKJJ+WsFD7wIGu 9KkgWxol0QWua7+41bP1qyAoUwwaZiH4eOaQy4S5q7pEgz8Gdzygu9FPa/9jdgM+Hng5 z5mknJou29QdqFq1+joUHMHnm0orHW6aShpUSS4+2Q8DiGsCRllm1GO3g5BYJRZ3rCcc AnyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=Ik2QE9k7; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r23-20020a63a557000000b00478e063254asi12310598pgu.148.2022.12.13.03.51.20; Tue, 13 Dec 2022 03:51:29 -0800 (PST) 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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=Ik2QE9k7; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235196AbiLMLev (ORCPT + 73 others); Tue, 13 Dec 2022 06:34:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234665AbiLMLet (ORCPT ); Tue, 13 Dec 2022 06:34:49 -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 9EA411B79D; Tue, 13 Dec 2022 03:34:47 -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=hKDbF4ofJiHqsJGA4ylrAICZ0zQGFIcCyE1knfmOcuI=; b=Ik2QE9k7/ZPAKTNLj07ElIzlp6 QPIkoGB8swNZIm8tl8T3hQXhcr3nrNvBFpCcUb+KULaLtgbHarSn+AuFjSj667cjFJUtJB8XF/X3A 6cxR3vLMIavzcYpa9TRdTGOFD+Tb98AU8io9MIA7jSPQJavCzMyyrmPYZNSuNvW4M4SnBOje0njNm xsFtCXq0fqMTUQOM779fHOPAzq5lzyeAFhTlyJgNN51wWFDPnNVuBfvsP36xj0M87RhW0p++AsGG1 fSsZrvsTiyHKxYadjDaNpHw7hRSeYaFAbsEBKiCY3U14SiYN0dkqWB+vaM+GDaDwHZ8GKRfmwk57M o4ZDgwNA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:35690) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1p53YZ-0006mV-Hc; Tue, 13 Dec 2022 11:34:43 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1p53YY-0006PV-DI; Tue, 13 Dec 2022 11:34:42 +0000 Date: Tue, 13 Dec 2022 11:34:42 +0000 From: "Russell King (Oracle)" To: Piergiorgio Beruto Cc: Andrew Lunn , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Oleksij Rempel Subject: Re: [PATCH v6 net-next 3/5] drivers/net/phy: add connection between ethtool and phylib for PLCA Message-ID: References: <75cb0eab15e62fc350e86ba9e5b0af72ea45b484.1670712151.git.piergiorgio.beruto@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE 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 On Mon, Dec 12, 2022 at 10:51:18AM +0100, Piergiorgio Beruto wrote: > On Sun, Dec 11, 2022 at 08:34:14PM +0000, Russell King (Oracle) wrote: > > Please see Documentation/doc-guide/kernel-doc.rst > > > > "Function parameters > > ~~~~~~~~~~~~~~~~~~~ > > > > Each function argument should be described in order, immediately following > > the short function description. Do not leave a blank line between the > > function description and the arguments, nor between the arguments." > > > > Note the last sentence - there should _not_ be a blank line, so please > > follow this for new submissions. I don't think we care enough to fix > > what's already there though. > Fair enough, I'll change this. However, I would suggest to write these > kind of rules (about following the new style vs keeping consistency with > what it's there already) to help newcomers like me understanding what > the policy actually is. I got different opinions about that. phy.c has two different formats for docbook comments - some of them are to the documented format, others with the extra blank line. Given that correct form is without the blank line, new docbook comments should conform to the standard format. > > This is a review comment I've made already, but you seem to have ignored > > it. Please ensure that new contributions are safe. Yes, existing code > > may not be, and that's something we should fix, but your contribution > > should at least be safer than the existing code. > > > Russle, I did not actually ignore your comment. Looking back at the > history, you were commenting on the functions in plca.c and we were > talking about the global rtnl lock. Thanks for checking back, you're correct. You can ignore this comment as it won't make any difference. Looking at phy_remove(), it wouldn't make any difference anyway, so please keep the code as-is. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!