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=-13.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 0C279C433E3 for ; Fri, 17 Jul 2020 16:57:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CDD7820704 for ; Fri, 17 Jul 2020 16:57:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eTKat4s5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728230AbgGQQ5s (ORCPT ); Fri, 17 Jul 2020 12:57:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727055AbgGQQ4J (ORCPT ); Fri, 17 Jul 2020 12:56:09 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0BFEC0619D2 for ; Fri, 17 Jul 2020 09:56:08 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id q15so15966277wmj.2 for ; Fri, 17 Jul 2020 09:56:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YT0JMRu5eQoXCKZAUBFbS9kdf7HqY+KCePcGHxfvNYY=; b=eTKat4s5/E2CjyBQFfD4OL1Ried9ygggeHKRbE97/qquwCB2+CYfFiIS6FYHPLNsx5 3bvHk49rpmbB7hewemhLQokS/V6/KSynXxRNFacpI5IIVQ+fMQrB1RyK/ewDBVY73ToY ako+0yfuwsc6WN8/S4LT22mJVi28aSWaKEI8EbCNebD6upedRCYsYFg/7LwdcTjXzG/t jFXi4H8Z4gXXgZ6RanUmbysgAER+yapMU6ZDtSaCQX0aOfrvxKiNpmZpbq9NZSN7EWoN vUY+SBWM+Pe0yMnFXI41l/n+N/+BHK5CFTQDwMCOBeE3d7zZlpHyMJPSUywTDPbWVuJc kaTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YT0JMRu5eQoXCKZAUBFbS9kdf7HqY+KCePcGHxfvNYY=; b=a5NagarLh1nVaeIWvHFAfSOf0vT72/+XhlQ5ySfnk17RT51YEwstOjgWvuKpSFCyxl cPYJZyfOS9CXYz84pCJ6jdPNGY59Xo6R11HJr5QixBCsFycDJMIHupaA5kRYV7yqIBgX VmC1FdsAarCzinTGs9jYmHEwK1R7gs+5Xuln9wCiBEmR7HTJPiHDp7n6xOT4FuO9Lk3H 4q/XAYx3Y1uvQZfQu64gVdga3tdNC++n5DGC/VbIVFaHYtIN9OoLjPx7xeqKljYrCKNw X2+TziZ46ayCdBJ57oTZvsROh5W9iDvtpshaEuJEUP2mgJSgwhpUOkCdEpi1yyO/SC6L igiw== X-Gm-Message-State: AOAM530Jr7X0oDDZidejhT2US0H1k9YnSFMn2LOCSEnUXWMi7TnLWjZ3 ALjzBoufwlQ52QNH6yO+mWFawA== X-Google-Smtp-Source: ABdhPJzJZIsoV7iAoqalIXWp6mzGqQalHQtp2jPJU/OINo7Arv9yvyl5bvzrXnJxJul0lIZXe1sF6A== X-Received: by 2002:a1c:2e57:: with SMTP id u84mr10869481wmu.52.1595004967573; Fri, 17 Jul 2020 09:56:07 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.94]) by smtp.gmail.com with ESMTPSA id k4sm14941516wrp.86.2020.07.17.09.56.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 09:56:07 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Lee Jones , Michael Hennerich , David Veenstra , Graff Yang Subject: [PATCH 08/30] iio: resolver: ad2s1200: Change ordering of compiler attribute macro Date: Fri, 17 Jul 2020 17:55:16 +0100 Message-Id: <20200717165538.3275050-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200717165538.3275050-1-lee.jones@linaro.org> References: <20200717165538.3275050-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kerneldoc gets confused if the variable does not follow the type/attribute definitions. Fixes the following W=1 kernel build warning(s): drivers/iio/resolver/ad2s1200.c:44: warning: Function parameter or member '____cacheline_aligned' not described in 'ad2s1200_state' Cc: Michael Hennerich Cc: David Veenstra Cc: Graff Yang Signed-off-by: Lee Jones --- drivers/iio/resolver/ad2s1200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/resolver/ad2s1200.c b/drivers/iio/resolver/ad2s1200.c index a391f46ee06b7..29cfd57eff9e7 100644 --- a/drivers/iio/resolver/ad2s1200.c +++ b/drivers/iio/resolver/ad2s1200.c @@ -40,7 +40,7 @@ struct ad2s1200_state { struct spi_device *sdev; struct gpio_desc *sample; struct gpio_desc *rdvel; - __be16 rx ____cacheline_aligned; + __be16 ____cacheline_aligned rx; }; static int ad2s1200_read_raw(struct iio_dev *indio_dev, -- 2.25.1 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=-13.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 BF883C433E1 for ; Fri, 17 Jul 2020 16:58:57 +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 8B91D20737 for ; Fri, 17 Jul 2020 16:58:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iamaaTKW"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eTKat4s5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8B91D20737 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.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:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qcgjvqb1z12U7pm4167xPmUWpZ8QS0noKadtJVVwH/k=; b=iamaaTKWXfjPlOhGZfJcPkLex Ytqw1hJvOrxIiTWRj7g3wbVqidbvTOlobYhHhRWPXqoxjJdHdifLSTeEtS/TD8SPflN3Tv3YeuS7c s2bTRCSxbDR11o2tKRBjn7L4VJgUmR4uyWpjivxvNUN6eM0EyxWd/05g2CFLUnla4ubUKImJMxI82 xHxtCLI4zPfbd0HIcfGLumeUZaiEu6n0ynPPiCizVyfn4BhOvCyCwryoUbwmeZyuosbbCmISCbY/j ODKRNTJSNt6v7qpPSrOvYOHTASQeQyp+MvtrDaKod1RK4f0NTDJnugyYD2KNIo6yLv5NI9iKSuq63 P69wCdv3w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwTfL-0000vS-NG; Fri, 17 Jul 2020 16:56:55 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwTea-0000bB-EG for linux-arm-kernel@lists.infradead.org; Fri, 17 Jul 2020 16:56:09 +0000 Received: by mail-wm1-x344.google.com with SMTP id f18so18182592wml.3 for ; Fri, 17 Jul 2020 09:56:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YT0JMRu5eQoXCKZAUBFbS9kdf7HqY+KCePcGHxfvNYY=; b=eTKat4s5/E2CjyBQFfD4OL1Ried9ygggeHKRbE97/qquwCB2+CYfFiIS6FYHPLNsx5 3bvHk49rpmbB7hewemhLQokS/V6/KSynXxRNFacpI5IIVQ+fMQrB1RyK/ewDBVY73ToY ako+0yfuwsc6WN8/S4LT22mJVi28aSWaKEI8EbCNebD6upedRCYsYFg/7LwdcTjXzG/t jFXi4H8Z4gXXgZ6RanUmbysgAER+yapMU6ZDtSaCQX0aOfrvxKiNpmZpbq9NZSN7EWoN vUY+SBWM+Pe0yMnFXI41l/n+N/+BHK5CFTQDwMCOBeE3d7zZlpHyMJPSUywTDPbWVuJc kaTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YT0JMRu5eQoXCKZAUBFbS9kdf7HqY+KCePcGHxfvNYY=; b=liU1vDOYWb4Cpd563Qv0ofyEp0AJnO0CuaeVngI+hqqvd5GnEXsB0NcheeUT051PXT yqQJhMxyTPLbYl0q3OBr2+jDJJn7cp8mRBcaWWcOQH/g/M7JRoe8vLJMQ1CkzV0nftIT wA8AO3mFeQqSXz1Pw2QklrgK0BT/LWLH7j/YmTzIZSwLL1rAexszYztPvNJnlIrnH6A0 sg6q/0CRd37+2TiTxQ7cZQHt6lu7BtQQAkcOrU7tAdMC0tTOJwBWvorUvOIlBOVNNZwp +hqSu5tU9w+YMzYt2gOMDN0Z87hkem30v05548uHdtdhHfyxvNQAL6wnhmRldBdMIoX9 u40A== X-Gm-Message-State: AOAM533JV3Ouk8jggwRI6rArqtx1hecSBShY2bQkAhFLAh8O3LFVWv/N eRhJPW6Qns8ltoUI3o08PlWXeQ== X-Google-Smtp-Source: ABdhPJzJZIsoV7iAoqalIXWp6mzGqQalHQtp2jPJU/OINo7Arv9yvyl5bvzrXnJxJul0lIZXe1sF6A== X-Received: by 2002:a1c:2e57:: with SMTP id u84mr10869481wmu.52.1595004967573; Fri, 17 Jul 2020 09:56:07 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.94]) by smtp.gmail.com with ESMTPSA id k4sm14941516wrp.86.2020.07.17.09.56.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 09:56:07 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 08/30] iio: resolver: ad2s1200: Change ordering of compiler attribute macro Date: Fri, 17 Jul 2020 17:55:16 +0100 Message-Id: <20200717165538.3275050-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200717165538.3275050-1-lee.jones@linaro.org> References: <20200717165538.3275050-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200717_125608_545994_1D8C978E X-CRM114-Status: GOOD ( 12.59 ) 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: Graff Yang , Michael Hennerich , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Lee Jones , linux-arm-kernel@lists.infradead.org, David Veenstra 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 Kerneldoc gets confused if the variable does not follow the type/attribute definitions. Fixes the following W=1 kernel build warning(s): drivers/iio/resolver/ad2s1200.c:44: warning: Function parameter or member '____cacheline_aligned' not described in 'ad2s1200_state' Cc: Michael Hennerich Cc: David Veenstra Cc: Graff Yang Signed-off-by: Lee Jones --- drivers/iio/resolver/ad2s1200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/resolver/ad2s1200.c b/drivers/iio/resolver/ad2s1200.c index a391f46ee06b7..29cfd57eff9e7 100644 --- a/drivers/iio/resolver/ad2s1200.c +++ b/drivers/iio/resolver/ad2s1200.c @@ -40,7 +40,7 @@ struct ad2s1200_state { struct spi_device *sdev; struct gpio_desc *sample; struct gpio_desc *rdvel; - __be16 rx ____cacheline_aligned; + __be16 ____cacheline_aligned rx; }; static int ad2s1200_read_raw(struct iio_dev *indio_dev, -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel