Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1677223ybt; Thu, 25 Jun 2020 11:24:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkAi+978ZcSPTSqOFSuA+0nb0u8aizVNWc9/xIecOtgkjsAZN4c25CQgPhUes/sUFpfkAJ X-Received: by 2002:a17:906:c459:: with SMTP id ck25mr22534336ejb.177.1593109497756; Thu, 25 Jun 2020 11:24:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593109497; cv=none; d=google.com; s=arc-20160816; b=dJoiCz03dkb9u8pOeNE4uhEGOoN7sKbAXvI8Cq29aLovjEw9+d0d5kdZ/2qGsRiN+M umR5PfnnJIsxKnu5UqWOmihPhl6j5+DzWA7MeG8cYUfrawx5XZbM5s0eSbL2CsGR38Z8 lwuw+5bVj7TbPDG0j5ISoA5gZT8CSjx2cfz94ZqbvMkWYQF1aG6rVU103ueKXf/dU6bq 3lHmTJj/VJYc9/FHo9S2jZvVYmMsLcIuRl/Qmg6Hj6PEEM08f95d5MS9GTYX3+AYUUlV dS2cAzRB/D14c+Ow1VEt1XuRgl/sagIrd9m453lH3t9Wy4UmbpGBE/sfl4CrAZTTKjwy etjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=B2vhhbW064igNhQOrh8tn9Oj/aX0/yCmAvWfVyLYr0E=; b=kGD3Nm584NLYBnarW+0b1o0AeoQjViCo+llK0a5yvvsN/U+eo5TQBTAlWeZNPXreLH RFW96qd4fWljZ36Yii7rs+1jT1MEsdI2MjudiYjhT4ucDW1xEcpeWRHTo6fFvWKQdIvS kQSfou1ZbqptnRGTZCES+nPBrJ9rRsJMlWPDGhzFvk7R19tGTXFWfIgXNbqyPfgbYuC5 aIqaqvspQ2xMu8w5XEHmGlkeO+2FVbCx6ezvdQHOyrLTU6iP9B+VWoLJMlScn8Si29pS 9RiIde4nPU5WNeYqms4dxamtDYU5aUFfASC69ETO4ksRC3EMnI5RNeZlKHcNtsynW03k 1HiQ== ARC-Authentication-Results: i=1; mx.google.com; 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=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u18si9952387ejz.388.2020.06.25.11.24.34; Thu, 25 Jun 2020 11:24:57 -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; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406521AbgFYRCu (ORCPT + 99 others); Thu, 25 Jun 2020 13:02:50 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:38688 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403979AbgFYRCt (ORCPT ); Thu, 25 Jun 2020 13:02:49 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 5759A2A5736 From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org Cc: Collabora Kernel ML , groeck@chromium.org, bleung@chromium.org, dtor@chromium.org, gwendal@chromium.org Subject: [PATCH] platform/chrome: cros_ec_spi: Document missing function parameters Date: Thu, 25 Jun 2020 19:02:41 +0200 Message-Id: <20200625170241.224780-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kerneldoc expects all kernel function members to be documented. Fixes the following W=1 level warnings: cros_ec_spi.c:153: warning: Function parameter or member 'ec_dev' not described in 'receive_n_bytes' cros_ec_spi.c:153: warning: Function parameter or member 'buf' not described in 'receive_n_bytes' cros_ec_spi.c:153: warning: Function parameter or member 'n' not described in 'receive_n_bytes' Signed-off-by: Enric Balletbo i Serra --- drivers/platform/chrome/cros_ec_spi.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/platform/chrome/cros_ec_spi.c b/drivers/platform/chrome/cros_ec_spi.c index f7cf7c6a04507..d17f5c74ae976 100644 --- a/drivers/platform/chrome/cros_ec_spi.c +++ b/drivers/platform/chrome/cros_ec_spi.c @@ -148,6 +148,10 @@ static int terminate_request(struct cros_ec_device *ec_dev) * receive_n_bytes - receive n bytes from the EC. * * Assumes buf is a pointer into the ec_dev->din buffer + * + * @ec_dev: ChromeOS EC device. + * @buf: Pointer to the buffer receiving the data. + * @n: Number of bytes received. */ static int receive_n_bytes(struct cros_ec_device *ec_dev, u8 *buf, int n) { -- 2.27.0