Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp445174ybh; Sat, 18 Jul 2020 08:52:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzi5zuiE2EScCMc666z25O3BO1He6FVekUi441uqLVb9FVDuc9gyr8ntCdXxmsZ5bAkIfTR X-Received: by 2002:a17:907:1051:: with SMTP id oy17mr13942714ejb.394.1595087556556; Sat, 18 Jul 2020 08:52:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595087556; cv=none; d=google.com; s=arc-20160816; b=jABtD8OXbXGGpBmT+gsthqwREnxr8oLgf0WlapfY8VR6RXVSNN0ybIF1pxb7KC4jgd 1N1MGH+xq2Ohut668plhaJWJ/P7XXAfx0QEyDzJ0OIvTsag8SCK15Uyuye6vZQtixN1+ YZPMf3uAXvLUZrEfKUimrPQm1nDqsaboX/UpJthGVkHv6A8QUuAj3zo0Qqus//jZrUbx UyuQUsl7T3FJMZYSwbrXalfg6uOi5Efu6vGd/jnNpVn40ITeLUUjkkvkCuWER7MFbJML vqiEBONuQwQGMFnxij3i3/3fDf8o+dVY2kx+xSKnyqvF6ZV4Ke+Y44M/AybiU6rq4FRt Kzeg== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=NsGGHlHhQaSFquH+J27ARjbp2nCjgE8afeW4/RDTGUE=; b=KXpVF4Y7/vxDLD08nkBcelUeBd4kx+rDfme5L3OJM1uRr74Adf+DmrO+V9ap1YzmCD E7GnnCknp902p8eaVqwFce8v4cHzLG5avYT0/LEFjAzw4fPRekeWLHZv2D1fH2Ye5Kae zgNUGXIx8agbSb4IKqOeXyl2SVpdKRAGizPxg044CuN/zcqNnpnken0UJe1GHzqCPMof sA/NY0ankLxzbx982R2jchJWmvLcd+SpKFNKdckP+HXM/XsmlETZr2y1r1L7SMDWMyY0 CjzDrjTE4rka9ghcGFZpkr2CNQQx31YEMKjMFj3q1VJcUwKfqihXD0XoiW/gtSgQFO6T vtOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fQiIDS4w; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mb24si6991011ejb.233.2020.07.18.08.52.12; Sat, 18 Jul 2020 08:52:36 -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=@kernel.org header.s=default header.b=fQiIDS4w; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728187AbgGRPvr (ORCPT + 99 others); Sat, 18 Jul 2020 11:51:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:49024 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726155AbgGRPvq (ORCPT ); Sat, 18 Jul 2020 11:51:46 -0400 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 9355E2076A; Sat, 18 Jul 2020 15:51:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595087505; bh=/d26/T16Jl834WEaxmzPmRbg84m0LV3DyqaNHiMZGOs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=fQiIDS4wSwngiSrAULgxgjPoQDWLnGd/oMomVnQMK4Dy9dgWqtEU92MNjY7h8AJ90 Ej0QS9XFVej0KbgK9TGNnjwtX7xpDRPMJythFevjiuUEj/AuOdUDtUEhHjo1uFPwep DVVIf1h3RBXiBoG/VrrQQSGmhu0myRFO4kXQxJ+o= Date: Sat, 18 Jul 2020 16:51:41 +0100 From: Jonathan Cameron To: Lee Jones Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Christophe JAILLET Subject: Re: [PATCH 16/30] iio: accel: sca3000: Fix 2 misspellings and demote nonconforming kerneldocs Message-ID: <20200718165141.41f3e8a3@archlinux> In-Reply-To: <20200717165538.3275050-17-lee.jones@linaro.org> References: <20200717165538.3275050-1-lee.jones@linaro.org> <20200717165538.3275050-17-lee.jones@linaro.org> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 Jul 2020 17:55:24 +0100 Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/iio/accel/sca3000.c:210: warning: Function parameter or member 'mot_det_mult_xz' not described in 'sca3000_chip_info' > drivers/iio/accel/sca3000.c:210: warning: Function parameter or member 'mot_det_mult_y' not described in 'sca3000_chip_info' > drivers/iio/accel/sca3000.c:871: warning: Function parameter or member 'indio_dev' not described in 'sca3000_read_event_value' > drivers/iio/accel/sca3000.c:871: warning: Function parameter or member 'chan' not described in 'sca3000_read_event_value' > drivers/iio/accel/sca3000.c:871: warning: Function parameter or member 'type' not described in 'sca3000_read_event_value' > drivers/iio/accel/sca3000.c:871: warning: Function parameter or member 'dir' not described in 'sca3000_read_event_value' > drivers/iio/accel/sca3000.c:871: warning: Function parameter or member 'info' not described in 'sca3000_read_event_value' > drivers/iio/accel/sca3000.c:871: warning: Function parameter or member 'val' not described in 'sca3000_read_event_value' > drivers/iio/accel/sca3000.c:871: warning: Function parameter or member 'val2' not described in 'sca3000_read_event_value' > drivers/iio/accel/sca3000.c:1110: warning: Function parameter or member 'indio_dev' not described in 'sca3000_read_event_config' > drivers/iio/accel/sca3000.c:1110: warning: Function parameter or member 'chan' not described in 'sca3000_read_event_config' > drivers/iio/accel/sca3000.c:1110: warning: Function parameter or member 'type' not described in 'sca3000_read_event_config' > drivers/iio/accel/sca3000.c:1110: warning: Function parameter or member 'dir' not described in 'sca3000_read_event_config' > > Cc: Christophe JAILLET > Signed-off-by: Lee Jones Applied. Thanks, Jonathan > --- > drivers/iio/accel/sca3000.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/iio/accel/sca3000.c b/drivers/iio/accel/sca3000.c > index 6e429072e44a4..3952187166ffa 100644 > --- a/drivers/iio/accel/sca3000.c > +++ b/drivers/iio/accel/sca3000.c > @@ -186,9 +186,9 @@ struct sca3000_state { > * @option_mode_2_freq: option mode 2 sampling frequency > * @option_mode_2_3db_freq: 3db cutoff frequency of the low pass filter for > * the second option mode. > - * @mod_det_mult_xz: Bit wise multipliers to calculate the threshold > + * @mot_det_mult_xz: Bit wise multipliers to calculate the threshold > * for motion detection in the x and z axis. > - * @mod_det_mult_y: Bit wise multipliers to calculate the threshold > + * @mot_det_mult_y: Bit wise multipliers to calculate the threshold > * for motion detection in the y axis. > * > * This structure is used to hold information about the functionality of a given > @@ -859,9 +859,9 @@ static ssize_t sca3000_read_av_freq(struct device *dev, > */ > static IIO_DEV_ATTR_SAMP_FREQ_AVAIL(sca3000_read_av_freq); > > -/** > +/* > * sca3000_read_event_value() - query of a threshold or period > - **/ > + */ > static int sca3000_read_event_value(struct iio_dev *indio_dev, > const struct iio_chan_spec *chan, > enum iio_event_type type, > @@ -1100,9 +1100,9 @@ static irqreturn_t sca3000_event_handler(int irq, void *private) > return IRQ_HANDLED; > } > > -/** > +/* > * sca3000_read_event_config() what events are enabled > - **/ > + */ > static int sca3000_read_event_config(struct iio_dev *indio_dev, > const struct iio_chan_spec *chan, > enum iio_event_type type,