From mboxrd@z Thu Jan 1 00:00:00 1970 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=-11.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 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 6A97EC433E0 for ; Sat, 18 Jul 2020 15:45:44 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 37EFB20724 for ; Sat, 18 Jul 2020 15:45:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="IoD2x2io"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="igBjveGb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 37EFB20724 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=N2/RlxDKwLDEFSmCq9V62DcrZcPi0yBrspC0VkBGsPg=; b=IoD2x2iomUw78UZsqDjt1Nb9G xW+KW0aT5tFS840fxffCtxUDfMAfGSqZ9u+8gGvv4QfX0crLCdEWs9Jx6oY6hNDexFLRDV4vKOwWO Uy4oEJ6nFVmlA0RsktlYzwGs7BWItuTT0sKqE5Cu1Mhpq3R2vq9UXX/VhXKoBQdLgrCPaoshoy5xg pUOJhSea002ups2kicDmQ9QOTbIimM4GUbFEFEf0qXzLOHRS9unJu0QwLcxPHUCdSddUS1TsB2O2h Q53AP4HqaAFLo/uCad+zZCdHXKk7QU3XY6AwYonw/TyLbzf+xeT5J3jh/MLROyZN27YdJjuuFzxMi yg/+PiZ1Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwp0i-0007PH-Rj; Sat, 18 Jul 2020 15:44:24 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwp0g-0007OA-D5 for linux-arm-kernel@lists.infradead.org; Sat, 18 Jul 2020 15:44:23 +0000 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6441820734; Sat, 18 Jul 2020 15:44:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595087061; bh=m8j9ACFyZJwuRQ05NiSfsU7NHB7bGakx320RUCzzw9o=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=igBjveGbwdhjVYl/80iDZiZ3H7XGpOAvsktSxH9RFaP5SkKYqKri/Q1Gmi8HbqTsP mRAP7PV/hpjDcVSlgFS0PMIk0lxfpmHq2ImyR4HxWLnoaYL0KUijsgTyYqMEeqludE ZM1+FiLPsKKXOeDodeJFGiHABvKl3sSPo6DKlXbg= Date: Sat, 18 Jul 2020 16:44:17 +0100 From: Jonathan Cameron To: Lee Jones Subject: Re: [PATCH 10/30] iio: light: us5182d: Fix formatting in kerneldoc function block Message-ID: <20200718164417.250f5f05@archlinux> In-Reply-To: <20200717165538.3275050-11-lee.jones@linaro.org> References: <20200717165538.3275050-1-lee.jones@linaro.org> <20200717165538.3275050-11-lee.jones@linaro.org> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200718_114422_623221_4D79B498 X-CRM114-Status: GOOD ( 14.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lars@metafoo.de, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Adriana Reus , pmeerw@pmeerw.net, knaack.h@gmx.de, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 17 Jul 2020 17:55:18 +0100 Lee Jones wrote: > Kerneldoc expects attributes/parameters to be in '@*.: ' format. > > Fixes the following W=1 kernel build warning(s): > > drivers/iio/light/us5182d.c:457: warning: Function parameter or member 'data' not described in 'us5182d_update_dark_th' > drivers/iio/light/us5182d.c:457: warning: Function parameter or member 'index' not described in 'us5182d_update_dark_th' > drivers/iio/light/us5182d.c:479: warning: Function parameter or member 'data' not described in 'us5182d_apply_scale' > drivers/iio/light/us5182d.c:479: warning: Function parameter or member 'index' not described in 'us5182d_apply_scale' > > Cc: Adriana Reus > Signed-off-by: Lee Jones Applied. Thanks, Jonathan > --- > drivers/iio/light/us5182d.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/iio/light/us5182d.c b/drivers/iio/light/us5182d.c > index b995f21a33479..24843597beba5 100644 > --- a/drivers/iio/light/us5182d.c > +++ b/drivers/iio/light/us5182d.c > @@ -446,8 +446,8 @@ static int us5182d_read_raw(struct iio_dev *indio_dev, > > /** > * us5182d_update_dark_th - update Darh_Th registers > - * @data us5182d_data structure > - * @index index in us5182d_dark_ths array to use for the updated value > + * @data: us5182d_data structure > + * @index: index in us5182d_dark_ths array to use for the updated value > * > * Function needs to be called with a lock held because it needs two i2c write > * byte operations as these registers (0x27 0x28) don't work in word mode > @@ -469,8 +469,8 @@ static int us5182d_update_dark_th(struct us5182d_data *data, int index) > > /** > * us5182d_apply_scale - update the ALS scale > - * @data us5182d_data structure > - * @index index in us5182d_scales array to use for the updated value > + * @data: us5182d_data structure > + * @index: index in us5182d_scales array to use for the updated value > * > * Function needs to be called with a lock held as we're having more than one > * i2c operation. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel