Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp443725ybt; Wed, 1 Jul 2020 02:14:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwejZbVk4/kQXWILuBBV4xkaRcsSWiEvaILOBiW4zYs+rseXe53m1eEVj+jscmkToXJLqRa X-Received: by 2002:a50:8a62:: with SMTP id i89mr13737552edi.324.1593594861039; Wed, 01 Jul 2020 02:14:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593594861; cv=none; d=google.com; s=arc-20160816; b=yrAppwl3JTXaaTlMn2XuQRl+lA+JW+Jy0pRkLR+gswUIe6nWMl4jPvTdyPXfFIrQ2d Y9/ixGUSfXHxTuQzN7Pgc5Kp0U0uSRQlRhLGr97QfyjG4BcYZta2FTroYamvGE0Xy7Px n5tvFxo+6K7YGGRUEUFYniuDMSTXw5Kc2AgRmZp/EuEw8w/yr9QSokTrFIaa+UOU8gPh L2dnSZQl6eyGHxD8bOWae0QuvqqCT18IN/3odBq8lRwdv50V0rnPeSbW+d0wWc8zNuSK ZlBCl9CZrczAiEooXVGffhsCG/pyZ9reE8bXkgLlGvk9bbDefW0yK3GwZjCIU6TbRU5n lufA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:subject:from; bh=5RVmUBY1LQb5LI+ujXyHXry6/tnGZLwGPNsdFg6uO0g=; b=CXtkNW0KDCiDwiPuQ8+xHBDot8j9jjunSITbotDrik3ga/QY0Dp7bcDFxsebXR78cn 6I6D+ksHcxbCKoA/+g42+W1odcaxQu1vkt7b8ccBqCufxH5F4NuDj/u3ktNGt8Jn5tKJ 7lM2rpAw0FoQgxGdIyXWHAT7eXjKwkeIqxQgVhY4a078QSdQ/aT9hV+pQ+zBFZEHjS1Q o820rrAFEgL0qHupKzPeqb/jb0wRlCHHicn/K54WTYcaGaNMYKPVkbFgoRXqxxFXqHcB rEv88GYFnsbNl/Np0qHu6o7Lo6/lwto7TA+oEo1dAQhg+LbQwKti2yu4PPPrAVMJy1H1 Sfzg== 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 x8si3453462edl.120.2020.07.01.02.13.57; Wed, 01 Jul 2020 02:14: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; 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 S1729288AbgGAJK4 (ORCPT + 99 others); Wed, 1 Jul 2020 05:10:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726129AbgGAJK4 (ORCPT ); Wed, 1 Jul 2020 05:10:56 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CB2BC061755 for ; Wed, 1 Jul 2020 02:10:56 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id ACDD22A0CAB From: Enric Balletbo i Serra Subject: Re: [PATCH] platform/chrome: cros_ec_spi: Document missing function parameters To: linux-kernel@vger.kernel.org Cc: Collabora Kernel ML , groeck@chromium.org, bleung@chromium.org, dtor@chromium.org, gwendal@chromium.org References: <20200625170241.224780-1-enric.balletbo@collabora.com> Message-ID: <07adffbf-477e-8550-39c2-706d740a77bb@collabora.com> Date: Wed, 1 Jul 2020 11:10:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200625170241.224780-1-enric.balletbo@collabora.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Gwendal, Thank you for the review. On 25/6/20 19:02, Enric Balletbo i Serra wrote: > 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 Applied for 5.9 > --- > > 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) > { >