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.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 946EBC433DF for ; Sat, 18 Jul 2020 14:35:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 741672083B for ; Sat, 18 Jul 2020 14:35:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595082933; bh=B3NvPtqwN2+3k+yupeNBxRXoUdbSS71z1vEVfZCahuQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=V3RmMf3SnqCedNxodRsqv4UwpvP6/0WtDKA1Bf2xGIvOR2dfcW+hUw3/Ca/dLK2xY 4WB73SqaKYQTMe6tzrVhdybD0kmXnajP5FQKnGuODlI/qbrNTnV7iqg2Kjc1g6tGME M0Ks2bRoIHo5KyHbuhIgY7kL0iQHhC2VJ8jZN/98= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727861AbgGROfc (ORCPT ); Sat, 18 Jul 2020 10:35:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:58960 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726574AbgGROfa (ORCPT ); Sat, 18 Jul 2020 10:35:30 -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 40FDB2076A; Sat, 18 Jul 2020 14:35:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595082929; bh=B3NvPtqwN2+3k+yupeNBxRXoUdbSS71z1vEVfZCahuQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EoFemmf2MiA5ycOpsGr9Cs4LSR+3tf3HBT3JsJ9+YpQxkmr3MF0axmeS7pam8FgW0 HO4dptQBhZl7LbHjqDODIHAjAt3F6bVW0XJ7Q4NolSlHHR0HN/T7vwAhospdPqcHqO voK9kCdlAnxEFLmAk1HeZwBjvvs1oN8ZVJsdcCaM= Date: Sat, 18 Jul 2020 15:35:25 +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, Michael Hennerich , Patrick Vasseur Subject: Re: [PATCH 06/30] iio: adc: ad7923: Demote obvious misuse of kerneldoc to standard comment blocks Message-ID: <20200718153525.24e68167@archlinux> In-Reply-To: <20200716135928.1456727-7-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> <20200716135928.1456727-7-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 Thu, 16 Jul 2020 14:59:04 +0100 Lee Jones wrote: > No attempt has been made to document either of the demoted functions here > > Fixes the following W=1 kernel build warning(s): > > drivers/iio/adc/ad7923.c:159: warning: Function parameter or member 'indio_dev' not described in 'ad7923_update_scan_mode' > drivers/iio/adc/ad7923.c:159: warning: Function parameter or member 'active_scan_mask' not described in 'ad7923_update_scan_mode' > drivers/iio/adc/ad7923.c:202: warning: Function parameter or member 'irq' not described in 'ad7923_trigger_handler' > drivers/iio/adc/ad7923.c:202: warning: Function parameter or member 'p' not described in 'ad7923_trigger_handler' > > Cc: Michael Hennerich > Cc: Patrick Vasseur > Signed-off-by: Lee Jones Both functions are static and hence don't need to be kernel-doc based, hence agree this is the best 'fix'. Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > --- > drivers/iio/adc/ad7923.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/iio/adc/ad7923.c b/drivers/iio/adc/ad7923.c > index 1d124c87c6ace..2a11bc7fdb567 100644 > --- a/drivers/iio/adc/ad7923.c > +++ b/drivers/iio/adc/ad7923.c > @@ -151,9 +151,9 @@ static const struct ad7923_chip_info ad7923_chip_info[] = { > }, > }; > > -/** > +/* > * ad7923_update_scan_mode() setup the spi transfer buffer for the new scan mask > - **/ > + */ > static int ad7923_update_scan_mode(struct iio_dev *indio_dev, > const unsigned long *active_scan_mask) > { > @@ -192,12 +192,12 @@ static int ad7923_update_scan_mode(struct iio_dev *indio_dev, > return 0; > } > > -/** > +/* > * ad7923_trigger_handler() bh of trigger launched polling to ring buffer > * > * Currently there is no option in this driver to disable the saving of > * timestamps within the ring. > - **/ > + */ > static irqreturn_t ad7923_trigger_handler(int irq, void *p) > { > struct iio_poll_func *pf = p; 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 7A77BC433E0 for ; Sat, 18 Jul 2020 14:36:49 +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 478F92080D for ; Sat, 18 Jul 2020 14:36:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="k9tv/yeS"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="EoFemmf2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 478F92080D 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=osovH8J/hs7bvfjq4haJD/wkajKTbUv4wxqYuD+rMjU=; b=k9tv/yeSNZcdmcgVRF5vUjeF2 /UyW6z8/MWPU8tdoRVRTrwbmmOgWLRLEaF9HUOGY5I8ysNVUpIt6Z5anweAjrDdf9XgokSCI6U1V+ gL/Tl3YCycjUCbyE21QVWbtaITwkOm6IbRRduMXx94rNMOy5t4Qt5WIlzI2UR+FrPTmil5PPZZa7g +3hfDPyer0Agnk7Ii1Otqp9CrWg8OFPa75iWCItU6HjPBLMsEF6teomvtmvlEpfO4hb29eUvQNtm2 9NrMB/WYowr/ALAVV43QHpduc+dN5GAu8L/uliHX6o9Ke0rJTCwZHtNw9u42G3oEAABAN7PV85rXs bB22zOzTQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwnw4-0002te-TH; Sat, 18 Jul 2020 14:35:32 +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 1jwnw2-0002sx-Fv for linux-arm-kernel@lists.infradead.org; Sat, 18 Jul 2020 14:35:31 +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 40FDB2076A; Sat, 18 Jul 2020 14:35:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595082929; bh=B3NvPtqwN2+3k+yupeNBxRXoUdbSS71z1vEVfZCahuQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EoFemmf2MiA5ycOpsGr9Cs4LSR+3tf3HBT3JsJ9+YpQxkmr3MF0axmeS7pam8FgW0 HO4dptQBhZl7LbHjqDODIHAjAt3F6bVW0XJ7Q4NolSlHHR0HN/T7vwAhospdPqcHqO voK9kCdlAnxEFLmAk1HeZwBjvvs1oN8ZVJsdcCaM= Date: Sat, 18 Jul 2020 15:35:25 +0100 From: Jonathan Cameron To: Lee Jones Subject: Re: [PATCH 06/30] iio: adc: ad7923: Demote obvious misuse of kerneldoc to standard comment blocks Message-ID: <20200718153525.24e68167@archlinux> In-Reply-To: <20200716135928.1456727-7-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> <20200716135928.1456727-7-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_103530_596703_F79F3719 X-CRM114-Status: GOOD ( 18.91 ) 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: Patrick Vasseur , lars@metafoo.de, Michael Hennerich , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, 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 Thu, 16 Jul 2020 14:59:04 +0100 Lee Jones wrote: > No attempt has been made to document either of the demoted functions here > > Fixes the following W=1 kernel build warning(s): > > drivers/iio/adc/ad7923.c:159: warning: Function parameter or member 'indio_dev' not described in 'ad7923_update_scan_mode' > drivers/iio/adc/ad7923.c:159: warning: Function parameter or member 'active_scan_mask' not described in 'ad7923_update_scan_mode' > drivers/iio/adc/ad7923.c:202: warning: Function parameter or member 'irq' not described in 'ad7923_trigger_handler' > drivers/iio/adc/ad7923.c:202: warning: Function parameter or member 'p' not described in 'ad7923_trigger_handler' > > Cc: Michael Hennerich > Cc: Patrick Vasseur > Signed-off-by: Lee Jones Both functions are static and hence don't need to be kernel-doc based, hence agree this is the best 'fix'. Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > --- > drivers/iio/adc/ad7923.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/iio/adc/ad7923.c b/drivers/iio/adc/ad7923.c > index 1d124c87c6ace..2a11bc7fdb567 100644 > --- a/drivers/iio/adc/ad7923.c > +++ b/drivers/iio/adc/ad7923.c > @@ -151,9 +151,9 @@ static const struct ad7923_chip_info ad7923_chip_info[] = { > }, > }; > > -/** > +/* > * ad7923_update_scan_mode() setup the spi transfer buffer for the new scan mask > - **/ > + */ > static int ad7923_update_scan_mode(struct iio_dev *indio_dev, > const unsigned long *active_scan_mask) > { > @@ -192,12 +192,12 @@ static int ad7923_update_scan_mode(struct iio_dev *indio_dev, > return 0; > } > > -/** > +/* > * ad7923_trigger_handler() bh of trigger launched polling to ring buffer > * > * Currently there is no option in this driver to disable the saving of > * timestamps within the ring. > - **/ > + */ > static irqreturn_t ad7923_trigger_handler(int irq, void *p) > { > struct iio_poll_func *pf = p; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel