From patchwork Wed Jan 13 16:41:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12017379 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E407CC43381 for ; Wed, 13 Jan 2021 16:43:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A52A123441 for ; Wed, 13 Jan 2021 16:43:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727980AbhAMQnD (ORCPT ); Wed, 13 Jan 2021 11:43:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727883AbhAMQmv (ORCPT ); Wed, 13 Jan 2021 11:42:51 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8B41C0617A9 for ; Wed, 13 Jan 2021 08:41:34 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id k10so2170269wmi.3 for ; Wed, 13 Jan 2021 08:41:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Z1CB49mzZZUw/61JRz0eEUr9QqVKx7SA3GZtjiem/4A=; b=nsTL5Y+oaK1QH7nxgpklm0OSpU6gbsvQj/NJeARHrT0Yr7gMgwtpKOO5KN0eg52RSo WhXHXUwoDssQdiMnyDK662RZt0upBfAn5BFnVriHbCZxIO9RycB1mfXzwFYCHNodgTfw Dx7JH2ZWUIfz7SyWa97EEUCtWBz3JbZenS1TElJkfHpDUlhxoJtpYx9+YOauwogNVRxC iTndn1zdVcdLYh4CTJRiJwCoxukKpSj3okUEVrsQ2ds2J68jKmajkh3HXHv+Zj8KIISR JxrOuQhIEzmcDMOOuy7BhoqrcNEu/6Y8BsSugbGEdWHbsqMkKDd6Xtr76GGikS/Rqz4Q 1dpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Z1CB49mzZZUw/61JRz0eEUr9QqVKx7SA3GZtjiem/4A=; b=RYgAbhICMNss7Jbnp3HvLdDuNwDBafTBoUB99YYKhuVolZ1xnYF/jh1nbmExEhPn8C qXJn47p2VCcx+wxxg/G15vVJ3dGQtlbq/TOeuuzjhQzZjOZ8szMN0jhMq0B/a2Xa8gKK sqvX3E6TJu5Vd7RLKhTiHVScSrbW/i+41YX6eif7wGbXlPkFOdqBrDJ9L6DdXJUC3jSU PvlLxUzqhVnaZXP6cAUsD/CyNKxmMqZvlIE0nPscb4EHDudxvWj6ndHGZKdXs//LxFBs UArH3JypCf+JQk3NaEKdtFrsXKg1rDFHvciRL227ww93ZLMsnoFeAmfJwc65kxrXVZMV 1hyA== X-Gm-Message-State: AOAM5312Ci90i022u4Cop7kQV1ZQ+5tKYth98Wj/Nci+1jNJyMQ4Bbqf ppPDZfOaXv2vGOazZbptTy1eEw== X-Google-Smtp-Source: ABdhPJz2MUloXEMC43jmGpRoJ64ZYD0scfXUmF+qO7P8ql4tAU9MjvcfRcf4GDb4mB0NQEK3/5MqMg== X-Received: by 2002:a1c:7c03:: with SMTP id x3mr108276wmc.17.1610556093439; Wed, 13 Jan 2021 08:41:33 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id t16sm3836510wmi.3.2021.01.13.08.41.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 08:41:32 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, "David S. Miller" , Jakub Kicinski , Grygorii Strashko , Kurt Kanzenbach , netdev@vger.kernel.org, Andrew Lunn Subject: [PATCH 4/7] net: ethernet: ti: am65-cpts: Document am65_cpts_rx_enable()'s 'en' parameter Date: Wed, 13 Jan 2021 16:41:20 +0000 Message-Id: <20210113164123.1334116-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113164123.1334116-1-lee.jones@linaro.org> References: <20210113164123.1334116-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Fixes the following W=1 kernel build warning(s): drivers/net/ethernet/ti/am65-cpts.c:736: warning: Function parameter or member 'en' not described in 'am65_cpts_rx_enable' drivers/net/ethernet/ti/am65-cpts.c:736: warning: Excess function parameter 'skb' description in 'am65_cpts_rx_enable' Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Grygorii Strashko Cc: Kurt Kanzenbach Cc: netdev@vger.kernel.org Reviewed-by: Andrew Lunn Signed-off-by: Lee Jones --- drivers/net/ethernet/ti/am65-cpts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/am65-cpts.c b/drivers/net/ethernet/ti/am65-cpts.c index 5dc60ecabe561..9caaae79fc957 100644 --- a/drivers/net/ethernet/ti/am65-cpts.c +++ b/drivers/net/ethernet/ti/am65-cpts.c @@ -727,7 +727,7 @@ static long am65_cpts_ts_work(struct ptp_clock_info *ptp) /** * am65_cpts_rx_enable - enable rx timestamping * @cpts: cpts handle - * @skb: packet + * @en: enable * * This functions enables rx packets timestamping. The CPTS can timestamp all * rx packets.