Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1335683pxb; Tue, 26 Oct 2021 07:14:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5c8ODIOE5lVAb847VPZJPa4ec9HLW3ByxRys1X9AQASt2pDt72iYdhjdPiCqZk54Qmsjo X-Received: by 2002:a63:3d0f:: with SMTP id k15mr18992147pga.269.1635257653175; Tue, 26 Oct 2021 07:14:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635257653; cv=none; d=google.com; s=arc-20160816; b=qU01ORuxNf9RfSn8/RF+YFJNwOMCHFIFGJDyEnsed+qJ3dZ/PJv0s9wO/DOr9VplO8 VYOv+u34Owky459dzN/Kp/HAt7SaLPGrjFkcaRUmRL23qsd0ZeBNybPG3VPmSDeutY8P 3dTrgD6KzeV1oAK6XhLvsA0eeBOGlo49UzbdMN5FDMfdqqfGpaVAG2iEJj7wfjLwEB+K ogneGgOVUGvEYwPV4LSIHLEQUUlNaLlsaCVnUPEJyMk1lKdFfAW+3IOPpo4vwoUXf2jc yu+fWs52EEbmGTLBCWn66KMYix+fG1pAI9FrgxY6SIUuECuAe9RdNfv21S/L+2YVhj2y OPMQ== 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=zFxsPJg3WPcNJY0FhnIZ6abtZyzPYauR+kJ9zIn0VPo=; b=P3DHMlQgoyMCjFeLvVdR+8GSn8PNxiM60GUphpD/waNbQleIF+9UPws+HJTtImC/1S X0X+Y7ceoFHL4ECcplNNPxNOfDM5+xpVs3FYWWfL0nCDH0vdbFqPgFmjsYEq0kGFohHR DYGTbDlNw+b6jDe/vgd7o3Y7eqW8WO4q2qIo9bFvO/bYkLwvDi2EfJfj0Mj0RNOtEhs0 WxfIFLwk7DzhY4pk6ips3xIpufHLfXwlwrI4nA+7uR9QgXMWMssfRBg8HDYDnFaM9ey2 p5kEV5Ic6CteZXIFdsW1vKXoice5WEJ7sjmarwH4GXwgMudP9pHbbEQrcI54nwas0c+h 80eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=pA2T6nRA; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d15si31185297pfl.235.2021.10.26.07.13.58; Tue, 26 Oct 2021 07:14:13 -0700 (PDT) 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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=pA2T6nRA; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234711AbhJZKjC (ORCPT + 99 others); Tue, 26 Oct 2021 06:39:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234608AbhJZKiT (ORCPT ); Tue, 26 Oct 2021 06:38:19 -0400 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 06FE2C061745; Tue, 26 Oct 2021 03:35:53 -0700 (PDT) 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=zFxsPJg3WPcNJY0FhnIZ6abtZyzPYauR+kJ9zIn0VPo=; b=pA2T6nRAYNHMFL+mB1vnyeWcBH rCb31LMoADZXZUodL/NTT76iO4ALgVY4m/QC3ke4px0pvJOL0qHKAiFMS+lw4P38P0iJEy7Z7+rOR VNKIUXXejHKAuXVRQzza6fqFK9v+H8COMJD3f5B/opCbJmRWBc2cCd4pI07LwH88uJsjRlVAm+kQc umxxnAfj1uVHAiKt+bF9ywqTJCebMYYAyzw0EulAO46DXiGLkOwAqqMeaDGOZtYhg7cqlrwlx/1XY GuRwzVXRjoXf0TBiZlSfxzP5eANvcZawER0S2wJLqk/RglUua+7mjVnS1aqZqJZYHXaY6vvNvlOLe GaDj/vrw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:55306) 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 1mfJo2-0005FZ-ND; Tue, 26 Oct 2021 11:35:46 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1mfJo1-0006ft-BB; Tue, 26 Oct 2021 11:35:45 +0100 Date: Tue, 26 Oct 2021 11:35:45 +0100 From: "Russell King (Oracle)" To: Luo Jie Cc: andrew@lunn.ch, hkallweit1@gmail.com, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: phy: fixed warning: Function parameter not described Message-ID: References: <20211026102957.17100-1-luoj@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211026102957.17100-1-luoj@codeaurora.org> Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 26, 2021 at 06:29:57PM +0800, Luo Jie wrote: > Fixed warning: Function parameter or member 'enable' not > described in 'genphy_c45_fast_retrain' > > Signed-off-by: Luo Jie > --- > drivers/net/phy/phy-c45.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/phy/phy-c45.c b/drivers/net/phy/phy-c45.c > index b01180e1f578..db709d30bf84 100644 > --- a/drivers/net/phy/phy-c45.c > +++ b/drivers/net/phy/phy-c45.c > @@ -614,6 +614,7 @@ EXPORT_SYMBOL_GPL(genphy_c45_loopback); > /** > * genphy_c45_fast_retrain - configure fast retrain registers > * @phydev: target phy_device struct > + * @enable: enable fast retrain or not > * > * Description: If fast-retrain is enabled, we configure PHY as > * advertising fast retrain capable and THP Bypass Request, then Patch itself is fine, but I wonder why we've started getting Description: prefixes on new functions in this file whereas the bulk of the descriptions in the file do not use that prefix. In any case, for this patch: Reviewed-by: Russell King (Oracle) Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!