Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp623767pxk; Thu, 17 Sep 2020 11:36:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8pIymLHmu2v30u4dwp9Bp7RvKHrgfmy25YPf68FZc3ocsaXsRMYyilPlhOnx73eJXK7XE X-Received: by 2002:a17:906:eb11:: with SMTP id mb17mr31455976ejb.255.1600367775343; Thu, 17 Sep 2020 11:36:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600367775; cv=none; d=google.com; s=arc-20160816; b=PbOiV1FVAv085MZJrUAz3WTHprZT7DOdDy69and6QQQXgG2zV4A6SAZMdUpRpeMHxH roUUVHwR68AutRT21WVWKG80no5SPYYTDmcJnyto5qdoE788vXmb3tYeskQpVebxNTN1 NSGnR9U7LQMKzccol2JhwbJ2Y5u4mFkc7E6IJTrAv0L0KEKcRi71S0rTDTA8olRAAdJx F6+MxVCtchtBubG9P9DRR5rCbjKITDjiG0ckLdKGJ3+HyGyYyQZ/AEJXBGM2vi67GED4 oOipRo0Ne9zmwlmh8jAPvyLpm+w/BDGL50U7GXO7kKCsGleKXvXnFdDC5OHggccZV5AX +9ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=sJoyOif/p+GK/my0Nc1W4rlAS32B4XkR4Tia7LS2d4w=; b=PWUd53xlYw3f1YDfGysKSa3V0MlnRjdVmxOpgk2slwP0z/EZ0KLGOk4G/4lb+5NzMh d7ZmnDkLuUUMvlL49DYYvo6dpI4vfb32qw3gZlDD1ltHyAPqUoJi2fwYnfwQ73YM5Mfa mlEh9ZnXEsLcwsom1CoIavJCMCGzLbx0G5Wo8WZCc+dqhYydzfaCW9MP5d+0b7MLpJen UiJ3S0SsC/X8A6EI5X9Ksbh7cOlhth8xjYZmJgENLa0OdxLRjserCZN44mvWY4W+G7Gx BPRUa4SjkFQpTGGzoH82BMXVkHjreoq/tHNtN3ynvgLTtAjl+V+nCt6gD8B2drXC7jnq b3nw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id us11si542977ejb.268.2020.09.17.11.35.49; Thu, 17 Sep 2020 11:36:15 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726458AbgIQSdB (ORCPT + 99 others); Thu, 17 Sep 2020 14:33:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726448AbgIQScU (ORCPT ); Thu, 17 Sep 2020 14:32:20 -0400 Received: from saturn.retrosnub.co.uk (saturn.retrosnub.co.uk [IPv6:2a00:1098:86::1:1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67F5BC06174A; Thu, 17 Sep 2020 11:32:19 -0700 (PDT) Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) by saturn.retrosnub.co.uk (Postfix; Retrosnub mail submission) with ESMTPSA id 44C509E016A; Thu, 17 Sep 2020 19:32:08 +0100 (BST) Date: Thu, 17 Sep 2020 19:32:06 +0100 From: Jonathan Cameron To: Bartosz Golaszewski Cc: Lee Jones , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , arm-soc , LKML , linux-iio , Marc Zyngier Subject: Re: [PATCH 15/30] iio: dummy: iio_dummy_evgen: Demote file header and supply description for 'irq_sim_domain' Message-ID: <20200917193206.40f68d76@archlinux> In-Reply-To: <20200718160046.5d1c8abb@archlinux> References: <20200716135928.1456727-1-lee.jones@linaro.org> <20200716135928.1456727-16-lee.jones@linaro.org> <20200718160046.5d1c8abb@archlinux> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 18 Jul 2020 16:00:46 +0100 Jonathan Cameron wrote: > On Sat, 18 Jul 2020 11:24:40 +0200 > Bartosz Golaszewski wrote: > > > On Thu, Jul 16, 2020 at 3:59 PM Lee Jones wrote: > > > > > > File headers are not good candidates for kerneldoc. > > > > > > Fixes the following W=1 kernel build warning(s): > > > > > > drivers/iio/dummy/iio_dummy_evgen.c:30: warning: Cannot understand * @regs: irq regs we are faking > > > on line 30 - I thought it was a doc line > > > drivers/iio/dummy/iio_dummy_evgen.c:42: warning: Function parameter or member 'irq_sim_domain' not described in 'iio_dummy_eventgen' > > > > > > Cc: Marc Zyngier > > > Cc: Bartosz Golaszewski > > > Signed-off-by: Lee Jones > > > --- > > > drivers/iio/dummy/iio_dummy_evgen.c | 4 +++- > > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > > > diff --git a/drivers/iio/dummy/iio_dummy_evgen.c b/drivers/iio/dummy/iio_dummy_evgen.c > > > index ee85d596e5284..1febbbff0ded6 100644 > > > --- a/drivers/iio/dummy/iio_dummy_evgen.c > > > +++ b/drivers/iio/dummy/iio_dummy_evgen.c > > > @@ -1,5 +1,5 @@ > > > // SPDX-License-Identifier: GPL-2.0-only > > > -/** > > > +/* > > > * Copyright (c) 2011 Jonathan Cameron > > > * > > > * Companion module to the iio simple dummy example driver. > > > @@ -27,11 +27,13 @@ > > > #define IIO_EVENTGEN_NO 10 > > > > > > /** > > > + * struct iio_dummy_eventgen > > Good to say what this structure is. Perhaps "event generator specific state" > > > > * @regs: irq regs we are faking > > > * @lock: protect the evgen state > > > * @inuse: mask of which irqs are connected > > > * @irq_sim: interrupt simulator > > > * @base: base of irq range > > > + * @irq_sim_domain: irq domain > > > > To be even more clear: this could say: "interrupt simulator domain". > > > > Bartosz Tweaked during applying and applied. > > > > > */ > > > struct iio_dummy_eventgen { > > > struct iio_dummy_regs regs[IIO_EVENTGEN_NO]; > > > -- > > > 2.25.1 > > > >