From patchwork Fri Jan 15 20:09:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363750 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp171186jap; Fri, 15 Jan 2021 12:11:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJzaG+Mbb8dskenhASZgU7QDTZLV2GLxPLBWEw1Y8m1BVc/gkdqC2bcBKo746QH7O8o4zvwG X-Received: by 2002:a50:a086:: with SMTP id 6mr3577719edo.70.1610741514521; Fri, 15 Jan 2021 12:11:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610741514; cv=none; d=google.com; s=arc-20160816; b=DxQE1R+th3pE2cduqtQpNbC2V+HuG19uSsim2P8c5prn2idhCejOiyK1QCqxdIEDvd 2gPYVNnkZ3d2kIQl/X1y9rKWXJ5uadRuQUpPWOQicxikMLTUhbHBwGFj11/POe2fXqlV wlFLBs4du6XsPRcIyGLa+JAF7xgMxFXce0DU80zeYdNkV0JTmCBKlAX3Y+Z7wGu7pvn2 PGlurEWq7+FqmN2quPbyTbWucNbWvs72HkwlHWrZPLVhXxvyFlnr9ylYFBu/uctAQiyZ VbElC42iCqLyPKGuFttqYPwAr1WKALT8Msc6w5W5lFOly7ans+HLboUhx9slXxLeM1vG c4uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Z1CB49mzZZUw/61JRz0eEUr9QqVKx7SA3GZtjiem/4A=; b=ZnBBTl3kYhLALxcQFThnbRrcbqwr6J9iRGFvvK9SAPVOWtdaj1KQzGzvC2uqJuzV2y HiGp5Nak8HS7RxH2tq7asQe8qyjGmfL60LB6rAucPGgbpT/rFi6OVr3ZQhxpFYkHW7rp i8+xnkzkI2tdF0E7ld1t/Nb13fLNaDuyZv3oz7uEupLGnQfG6t2yDh294iTjp/NlmcoS /r6EHyQUaF3bBjbX6Tk8RJZ9aluTui1LXogK4X1VjVjGNdFnVBLtrLniET4A9TgZzQnh ieej8WGwuru5cARLAa5DeE+D2Ktif5pEu0cHq8d0NxImda05BYi11OIpyQ67y7ew/qt0 o1RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XZVdyPcl; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v3si4089359eje.650.2021.01.15.12.11.54; Fri, 15 Jan 2021 12:11:54 -0800 (PST) Received-SPF: pass (google.com: domain of netdev-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=@linaro.org header.s=google header.b=XZVdyPcl; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388755AbhAOUKz (ORCPT + 7 others); Fri, 15 Jan 2021 15:10:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388402AbhAOUKi (ORCPT ); Fri, 15 Jan 2021 15:10:38 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2392C06179C for ; Fri, 15 Jan 2021 12:09:21 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id v15so6823415wrx.4 for ; Fri, 15 Jan 2021 12:09:21 -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=XZVdyPclrbT2uhxikgAxnyIS/ZX1qGmCB8LbBl3vmin7FjsAsxRottUyPI83R0g3lU +4Q7EX9573V1O6kGhPJdJJKT6hRRq96wUP4l95wA8rl3xpo90ptufBd2CZWkbmugECIw bfjO1EOjYV6zg0/S5sBgJjUeFp9vLqAB8vc7Oy2Y6M8wZBTfGqdfw4VI/6NIO5I0y/c0 INaxZ8czTplEQT+SU1KBPk5SbbbO3giYgFjXLHrXLtukvEywqvOsUCxmO1tHSjKSLQj8 0uoJ8Pj7N0SlrVletx9yTWLzIHNMPfbq/KjdpRTwEySsiVz6JzCVlrVrflyFcM2Tp2In E6Eg== 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=E8ZtTaLlfBU2u5eDPd93pEkONNYHdBJUCR3/AoGZTYH5P5SnLrQhNRpab2uVFWIgZX jceQxOGtXPADmm4qk8mmc1KdOL9rvXiwCVQGbjSIIaAUGAwfwEgF00Z+cBQTVlYW6c4j AkIDvFhRW5w2XK/FRL1wSnZoEGbOeOk77PIVmUlqY23179g3VAW8y0zzKO5xpLxIL4J1 GQdzHWOLSafzsM/2vFuCI95B6IPZUm42jY/PffJyu2HDjG1N4SOHtMEDEKRelL1l5GvD 7feLTsbptz7u6cvCmZQIc2mALQGUlPcdSmhdAL8LuA3Z3MaBKVt+TZ1M+8tTmQDlK/3W 1omQ== X-Gm-Message-State: AOAM531zPR86H8gpbZ9zdfm6s1ONQ5bS5CSB0wt+OAmRLvsGTJmDd5zV 6o02M9JFslEBpys9KGNMtkbTvw== X-Received: by 2002:adf:c64f:: with SMTP id u15mr14322350wrg.270.1610741360557; Fri, 15 Jan 2021 12:09:20 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id d85sm9187863wmd.2.2021.01.15.12.09.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 12:09:19 -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: Fri, 15 Jan 2021 20:09:02 +0000 Message-Id: <20210115200905.3470941-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115200905.3470941-1-lee.jones@linaro.org> References: <20210115200905.3470941-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.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(-) -- 2.25.1 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.