Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp417134ybh; Sat, 18 Jul 2020 08:02:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLF+wMurl5FPcZ6BgZGc81uvjOSZSaCOY4LJHTlXBiU4qUuj6mTLEd+JG8kenICryaL9z9 X-Received: by 2002:a05:6402:cb3:: with SMTP id cn19mr14538913edb.368.1595084528200; Sat, 18 Jul 2020 08:02:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595084528; cv=none; d=google.com; s=arc-20160816; b=K5E+kr4sMj1SmHY+QTIazPtC9GO4mDTtC61VOnb22t5AmZdRYnXuGIhRvdYkx7B2va 6Crf1BQczK853+/5pItw/WwddN240HaRTbs8SO7FRhaq/+PgButIn/TZ4L/Fgeu/eNlR QGvbumwUnSu+GbjCo3luvDXn9Iyg3bI5DXz9Xe8QHAaboDROV8Huh8qs9mSWH4sxfgRV bZOEuhYzdBozSK85VHZjRwTJNqwjWdkK5U9LuLFh+nN5TexhO3fZUc3uqhqfSitWsruH TRt5R6wSPJyCNu24pwfOBLJSqwEotXwzk1LpOm2/Ruc0H0/YOl8A/P0hF7bj2ptN7CIW WKfA== 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=WKPdPOn9B++kuuIuciWZY4XMh/qhmd9uV3kkOV4vm1k=; b=bLnbBoD+r6su0qTLT4YGIOg0bDp8d6ohsG9XZODHv2JBd3JBbHWd7q3bqt/YWENKcM qB997Y5MDArXLLO2gZXzNbDOEFwt0yjUqacIpbBqgpWXHjJ9ZxqSVoXQdr5GAVA3kdYu cx5EcAoRCN8ECL0i1pa7bVUwBVhvAGaC89J7QDFDD8JvwX1fTcorsUtAyces+uqTxE6s 9ja1BcJQCD/Nv7/SlsCmFgd/mLOxUelHy6a3cfqq49SnHBpbhbHq2wQ4sBY51az2IQGT ccZmvUjELSIJY6yx7pqLofuy1ricwJHVMWNe1tKnK4KTtgqQctnGsP24a1hGbe2xW+xC ZAUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=c6y2Jzws; 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 c6si7619505ejr.345.2020.07.18.08.01.44; Sat, 18 Jul 2020 08:02:08 -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=c6y2Jzws; 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 S1727818AbgGRPAw (ORCPT + 99 others); Sat, 18 Jul 2020 11:00:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:35318 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726411AbgGRPAv (ORCPT ); Sat, 18 Jul 2020 11:00:51 -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 9EC172065D; Sat, 18 Jul 2020 15:00:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595084451; bh=26CBZjL7uvp6pS4YJG28uV1EtS6Ger0+vvpXKdu430E=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=c6y2Jzwsq9GEB8orElY1PDFiEzojam1SOGInKYWRa3q0d78aF8VaE0+yxfyQ4NAGP forLr72tGJa/59KF+SPTU9j0rdR2+04BJeUxAyI0phuq85OrMH1QK3kh7vhsJ3bjhc OzgYJ56E9U3yCpBOYGfwJfIpsvxlZMQBkap/jH28= Date: Sat, 18 Jul 2020 16:00:46 +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: <20200718160046.5d1c8abb@archlinux> In-Reply-To: References: <20200716135928.1456727-1-lee.jones@linaro.org> <20200716135928.1456727-16-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 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 > > > */ > > struct iio_dummy_eventgen { > > struct iio_dummy_regs regs[IIO_EVENTGEN_NO]; > > -- > > 2.25.1 > >