Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1474237pxb; Tue, 26 Oct 2021 09:38:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJi3kreShp2bdJZF8MoBJ/Pf8p1YGAK1IcAXCGK2hw+NJgtHxpvd+ZBTg6gMQQ51AyOetP X-Received: by 2002:a17:906:4fd6:: with SMTP id i22mr31755157ejw.92.1635266301515; Tue, 26 Oct 2021 09:38:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635266301; cv=none; d=google.com; s=arc-20160816; b=WjXzKolpx8ukelBIJI92xbdyoaJ4YM2tOQCqhZmDLpEOXb4OiMKKFDkP3QxcvOJf9H vW5U14HkWnOUSvSfSZzZIURvsJfeIZM+G5BM1lMo9vOZX+fsmj2nlXHjsiHJaPDiW4R5 3grei366bFsN3RlNK09ZVX2buEIix+3bpVpvd/TIQrYknriigByHLge/HUzgoffafBSM rwNcw2eEf5wuiIRNBxgzNcjMAlJM2P5kGjUqQHAAtfilN3NzEyDQdigQCGI+ivze8iG8 GCVy76PxFhUsaCRSIGhe7B2gigz8qJgp+pCMXp0YJnui6UwugnneOBggmLRIhEm99dp3 F4bw== 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:dmarc-filter:sender:dkim-signature; bh=1k3zGJ4rl06XKaEt7rtFd3UZK/aFUbT8lcdHtHYHL0c=; b=SDUf1DbSBQO3XlAXck8QV5ZD2w1SSsV1NQoiPIGrAkfAIfFrQXCMGvLgQ6OBvdNwMQ lG5tV9KKye3isLBzWiRM2IBt7Rb18bKe0eX5sk7mW8af3/DgFfXsx7W57u9o6Hy17Qm6 1STFcZRRKv174uUoCLpgseB2/tZpyhyXX8zDilt3/0WIm5NrWtj+/XYDpIu0Ook9JdlB WnTefbSkhOE+eaMbkWXkRlPjFTgR0R+3G6iColZ0lgRELuKvLvTgTxepwjhUXyrmANt+ vbG3IDMG1jJ60NvexBR0zLmkiAxICrUMT+1fZUY2kCqZJWWlj5f4qv88y6KWTGQEbbuT s6Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=F0eL2IAl; 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=quicinc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g16si29459812edb.12.2021.10.26.09.37.53; Tue, 26 Oct 2021 09:38:21 -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=pass header.i=@mg.codeaurora.org header.s=smtp header.b=F0eL2IAl; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236106AbhJZNDX (ORCPT + 99 others); Tue, 26 Oct 2021 09:03:23 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:10263 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236113AbhJZNDW (ORCPT ); Tue, 26 Oct 2021 09:03:22 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1635253258; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=1k3zGJ4rl06XKaEt7rtFd3UZK/aFUbT8lcdHtHYHL0c=; b=F0eL2IAln6m1iQiHWFECXfqygUyqRVoUbgnbeY7Pq7V5pFH+MUI+w+kuSkfif0AO8LmFM0sb ecfHXCYLjy0cfP+EfF8jh2BCmNEujWt5/0LVZjhVkUqo39rUHrVxOunJ2fuSEo0I1USVTbJZ KRRKCg0B5J0wOliNMHbCW8uS37A= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-east-1.postgun.com with SMTP id 6177fbe7b03398c06ce69e25 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 26 Oct 2021 13:00:23 GMT Sender: quic_luoj=quicinc.com@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 51B74C43619; Tue, 26 Oct 2021 13:00:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from [10.92.1.38] (unknown [180.166.53.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: luoj) by smtp.codeaurora.org (Postfix) with ESMTPSA id 52593C4338F; Tue, 26 Oct 2021 13:00:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 52593C4338F Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=fail (p=none dis=none) header.from=quicinc.com Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=quicinc.com Subject: Re: [PATCH] net: phy: fixed warning: Function parameter not described To: "Russell King (Oracle)" , Luo Jie Cc: andrew@lunn.ch, hkallweit1@gmail.com, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20211026102957.17100-1-luoj@codeaurora.org> From: Jie Luo Message-ID: <1e2c14d5-0d9c-e288-f2c6-0b29c5ce93e0@quicinc.com> Date: Tue, 26 Oct 2021 21:00:17 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/26/2021 6:35 PM, Russell King (Oracle) wrote: > 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. Thanks Russell for the review. i see the prefix "Description" is also used in the file phy.c. > In any case, for this patch: > > Reviewed-by: Russell King (Oracle) > > Thanks. >