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=-14.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=ham 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 546A0C2D0E3 for ; Thu, 17 Sep 2020 18:31:55 +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 C668E206CA for ; Thu, 17 Sep 2020 18:31:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Wn+t7sg7"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="yrXu9K0a" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C668E206CA 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=6c9i3FABCsnfmTGtzEeY0Hk92w7sZvZiGNnntUNKY8U=; b=Wn+t7sg7xj32hCmBTsPMToL4o IllvgWqGR5LRURKDFnhU3fhEgwM9QDdn1FI1eCEeuDSXgL/paAGD0TUrwxGip3iJfQZ4tmryA2vYt 7a27JBIpSkz/a608vMeVIfN9Sc4qhsFwhiZxQtv4L/SxHbxy9tRQyMlTAOeAY9fD8g/SDiwg0s+Tw mYl4dXeeOrvPYA4/v0Cgi+cNJEpt2mS00gcmV69bEbfAN3yi0MjCQMqsuFdfTgZGlORD6eKC6UPRk 0TGz9Ov1aQx744L3UOWGiqd+Ejvzu7FzGGiQgH/sujaFrGn/LBNtW+mZK2A3Nbssn656l1qW3f6Jp P0QQ3t/NA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIyfw-0004mU-PR; Thu, 17 Sep 2020 18:30: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 1kIyfu-0004lo-GD for linux-arm-kernel@lists.infradead.org; Thu, 17 Sep 2020 18:30: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 EA474221EE; Thu, 17 Sep 2020 18:30:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600367429; bh=JZVoYCj9TVsqgcGVk0M6zcrr/208nx/00klNnUVjI/s=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=yrXu9K0a3PXwKp73G1fLdEMQbfky9bykOb0c6vVUaeUAa7BMjDNwKnS8dlU6C+9mr DN38vPLQvlt0CuFpOfy6tDLxCiMm3X1iwnNmfnSO64O7XMVJOkenPk/0KjPduRU8wo ilu+S02Y9sAvSduAcPKQCH9BSTTfYpGanucvU8jA= Date: Thu, 17 Sep 2020 19:30:24 +0100 From: Jonathan Cameron To: Lee Jones Subject: Re: [PATCH 30/30] iio: dac: ad7303: Complete 'struct ad7303_state' doc and reorder compiler attribute Message-ID: <20200917193024.73fa1108@archlinux> In-Reply-To: <20200716135928.1456727-31-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> <20200716135928.1456727-31-lee.jones@linaro.org> X-Mailer: Claws Mail 3.17.6 (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-20200917_143030_931464_5495A4A1 X-CRM114-Status: GOOD ( 18.76 ) 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, Michael Hennerich , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , 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:28 +0100 Lee Jones wrote: > Kerneldoc gets confused if the variable does not follow the > type/attribute definitions. > > Fixes the following W=1 kernel build warning(s): > > drivers/iio/dac/ad7303.c:49: warning: Function parameter or member 'vdd_reg' not described in 'ad7303_state' > drivers/iio/dac/ad7303.c:49: warning: Function parameter or member 'vref_reg' not described in 'ad7303_state' > drivers/iio/dac/ad7303.c:49: warning: Function parameter or member 'lock' not described in 'ad7303_state' > drivers/iio/dac/ad7303.c:49: warning: Function parameter or member '____cacheline_aligned' not described in 'ad7303_state' > > Cc: Michael Hennerich > Cc: Liam Girdwood > Cc: Mark Brown > Signed-off-by: Lee Jones Applied with ___cacheline_aligned bit dropped as now kernel-doc will ignore that. Thanks, Jonathan > --- > drivers/iio/dac/ad7303.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/iio/dac/ad7303.c b/drivers/iio/dac/ad7303.c > index 15af8a1cce3eb..05d8dc88d4fad 100644 > --- a/drivers/iio/dac/ad7303.c > +++ b/drivers/iio/dac/ad7303.c > @@ -29,6 +29,9 @@ > * @spi: the device for this driver instance > * @config: cached config register value > * @dac_cache: current DAC raw value (chip does not support readback) > + * @vdd_reg: reference to VDD regulator > + * @vref_reg: reference to VREF regulator > + * @lock: protect writes and cache updates > * @data: spi transfer buffer > */ > > @@ -45,7 +48,7 @@ struct ad7303_state { > * DMA (thus cache coherency maintenance) requires the > * transfer buffers to live in their own cache lines. > */ > - __be16 data ____cacheline_aligned; > + __be16 ____cacheline_aligned data; > }; > > static int ad7303_write(struct ad7303_state *st, unsigned int chan, _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel