Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp112599ybt; Thu, 25 Jun 2020 16:46:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFwxiLtKGDu80hiidfleCwYxdeUq6N5mi+lNQn/2OIafvwrk0XlBVaFUTrIqvKM/zC1ke/ X-Received: by 2002:a17:906:35cd:: with SMTP id p13mr228391ejb.172.1593128790485; Thu, 25 Jun 2020 16:46:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593128790; cv=none; d=google.com; s=arc-20160816; b=ck11Cx5HpmDQZlZV/NEI7CINvtiXTzUHVyBN/egmojEbMiSpZb0H8203d8Vvp7kaP9 BtzImja2HTGJx2jdeI1Nas/PmHAOXearVhXxGeAXq/HxAj3jAsyXC36Wp79R2xeMJwDi GAMO8CL+/ZabTDD6kFKtXnGtHs0xaCGj32U+7D2FNEqklvvUthlSgrynDSEp+xUduJGK i7w1Drba9kKylVOrzWfy46OR/RFZC+CAJOwY+rMmN6jpY3WFaPwnEO3dA1o5pKcZjWZT dOdPH/wh5pPJz81eJBFAofyhGNTZQgMYJPesSaeZYdIZMnEC0VToAemFeedNai2aqr9v W/BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=PeX1os+mAQlfCuEpBTaGRzCtZlffjqRfxdp4eoZGB7w=; b=ouPlUW7KxaHemNiu5QHChUGQzI50SRMBneVjUrkStNBxQIF9XqVuGJfcrLjr4h0Mbl hFVARUPvRltpltiph8n/8xyIE+3wcg+r+euZLh/CB2UPeaydxaLlBKjh4tR0xd/SieIc ilh5B0s9Jay8Z9RHNCme3Huem/gszY3QD4ZrYAgFlpsiD23kakuYXK0q2/9nA9Gwm70z JArRIJQrIN+scFtMjQdE1fZOTfKSoBJr4TjoDXTwImfUqmB79TB/5CnxF99nU90josDq jXM4go3GF7jS4hUP96tsPO/401dSLb632vLwmo3yFQRNCAkIeMdJ6iiN3ryGS/6Eo2pn NOAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XWWeYCZ9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d6si1014795eds.492.2020.06.25.16.46.07; Thu, 25 Jun 2020 16:46:30 -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=@chromium.org header.s=google header.b=XWWeYCZ9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391244AbgFYVwn (ORCPT + 99 others); Thu, 25 Jun 2020 17:52:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728381AbgFYVwn (ORCPT ); Thu, 25 Jun 2020 17:52:43 -0400 Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C01D5C08C5C1 for ; Thu, 25 Jun 2020 14:52:42 -0700 (PDT) Received: by mail-io1-xd43.google.com with SMTP id v8so7648736iox.2 for ; Thu, 25 Jun 2020 14:52:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PeX1os+mAQlfCuEpBTaGRzCtZlffjqRfxdp4eoZGB7w=; b=XWWeYCZ9C2tAcsEI4s6KOl3ZWFkq7oFW8XatZlmOPkOmo9Z+6NG3pAJROiDcSsM5dU iGqYME6VUNe/ARlpC+0Ew7lM2mYjdOX6p6VT+uPDfGKdd1aL1TjIyU8wis0IH4IC9Ge7 DfQ8c2/qTdcKH7OsyCrBnGAvrvNbBuhCm3L9w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PeX1os+mAQlfCuEpBTaGRzCtZlffjqRfxdp4eoZGB7w=; b=sn3YZBYJegPmRgpvOwG7siBd8xcwfLSQqKNY1307XckIA/IRNEY482cJnojKaq0umk ra87dyZJQJlDjGHlMvhoEvA1Imac2SJbx7o4+fRuupTiTPqX4Y7NSEh009OXOZgn87lA c7xpcurwNnJfwsbi6v1VF68SWi0D2KpjHWhwIwFaubLwoB84edoS6isedTMsJLPeuhsz uY7VxVYMwIJR+iJ1pejMyBVU+hg3oFeO2MpcQF48GGL9S6s/laH9p1Ywhz7FuA6tmQab TjRtBP41kiprEURvvYnQ075/Fv8cEt7gAVRiQIQNXZab48ozOPuEYkISYiDiD0v1R+1N qnWA== X-Gm-Message-State: AOAM5315ImQUGEKFPZ9i6yXdu7aPilAMH4wX8VJhzPAJvQC66XYoC4D3 AE1xfXOmKGGv2SsXX1ps5rWPW/wIhDoGAPlCNWqRiQ== X-Received: by 2002:a5d:8a10:: with SMTP id w16mr212245iod.170.1593121961964; Thu, 25 Jun 2020 14:52:41 -0700 (PDT) MIME-Version: 1.0 References: <20200625170241.224780-1-enric.balletbo@collabora.com> In-Reply-To: <20200625170241.224780-1-enric.balletbo@collabora.com> From: Gwendal Grignou Date: Thu, 25 Jun 2020 14:52:31 -0700 Message-ID: Subject: Re: [PATCH] platform/chrome: cros_ec_spi: Document missing function parameters To: Enric Balletbo i Serra Cc: linux-kernel , Collabora Kernel ML , Guenter Roeck , Benson Leung , Dmitry Torokhov Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reviewed-by: Gwendal Grignou On Thu, Jun 25, 2020 at 10:02 AM 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 > --- > > 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 >