Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2770616imj; Mon, 11 Feb 2019 08:12:45 -0800 (PST) X-Google-Smtp-Source: AHgI3IbW74OKtLKZz+K0vrasBryKxRA3hVtie68broVLoTZ/d3+c4i1+xVxFmoua7v0oKZYa9C7h X-Received: by 2002:a62:33c1:: with SMTP id z184mr37103234pfz.104.1549901565806; Mon, 11 Feb 2019 08:12:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549901565; cv=none; d=google.com; s=arc-20160816; b=SPbJIL+9swklNSQf458Vgifyhyw6r+/p60z3AgD9eg2xjcWzeX+V4/ErrxVUUN+OEe StmlozkMR0eXtkoaAzoF0y80y30U1dFI3s39kDAhrSu/R2/TCp+ZE7AnmuKpR45lpuJm K0MT1g7VRXiEmgEdz4YdRWzNWLMRSPQc+mEcrRS1lCgWLJI4KoCiH8sQtrRL070qqgIR wWMFaHPlwEnekzaiRgptFqaUkvEgXzOCjukx21sJj4GUoaLTq7Jmr+4xJ+jfpn8ll/rH A6S6o6PgCSQPxIZ6O6+OSkdXsO9kmYgmkS2b5mxy3y4cYsv9xuRPqiYYYN9s6snXS81p OTsg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=8Mda04OSz3Z+puU30Oa5NoJKuoN8kmwNsL7g3zayw+k=; b=QjIjEYwA28cFgpo19xKVZUA3pVR1a2fGFwgaTmFzHrAefX205+dooOYh1eMKiGRH8m u3P1XAZq1TH7FPvTAMPup81CPNpAJu86IqpEDjVzC7TDnZDhmI4eySnEn3JoUXC+4Tbu jnQ8VNk3+XN2jT0ebmiIc/jkZOxGmYLrl3c0cS1HEZ2rnim3dLjGE/nHRCs7bG194zK/ TyhYBAPFNcYYVzyB3+Gaxx2hKC3nF8E8WsJrtViFY3fORrE0rMlj3VoDGir0Lh9vPWfo SkqTtZFrQuzfj3KcU1efuBmNN118ZESfU87QPs2H46uny8Kyd3PLTArAoHDoGo7OkKLJ jBLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ynVQ8WNF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c65si10973359pfe.202.2019.02.11.08.12.24; Mon, 11 Feb 2019 08:12:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ynVQ8WNF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729557AbfBKQLd (ORCPT + 99 others); Mon, 11 Feb 2019 11:11:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:57122 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728260AbfBKOYC (ORCPT ); Mon, 11 Feb 2019 09:24:02 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (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 3610E20821; Mon, 11 Feb 2019 14:24:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549895041; bh=jt7UiLCp8HwfWXRFu/+hwj9y9Zcw+Xfb5w2+38MIIvw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ynVQ8WNFQOvukbZ3cFIYZNTKj1WisxoZ1SrefWEWZznOEGCBtdVIFF0etynMNFzHI VVxveIEZY8FfqOSb7pNizUF4XcbA9klAKyMMUvabsKSM3cud3zm/9Sms/hEmwLUo4t WDJdO7TTfB1AH9cj5e5xPc668sTLpYQX0f2MOtRM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nick Desaulniers , Nathan Chancellor , Vinod Koul , Sasha Levin Subject: [PATCH 4.20 071/352] dmaengine: xilinx_dma: Remove __aligned attribute on zynqmp_dma_desc_ll Date: Mon, 11 Feb 2019 15:14:58 +0100 Message-Id: <20190211141850.603551827@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141846.543045703@linuxfoundation.org> References: <20190211141846.543045703@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.20-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit aeaebcc17cdf37065d2693865eeb1ff1c7dc5bf3 ] Clang warns: drivers/dma/xilinx/zynqmp_dma.c:166:4: warning: attribute 'aligned' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] }; __aligned(64) ^ ./include/linux/compiler_types.h:200:38: note: expanded from macro '__aligned' ^ 1 warning generated. As Nick pointed out in the previous version of this patch, the author likely intended for this struct to be 8-byte (64-bit) aligned, not 64-byte, which is the default. Remove the hanging __aligned attribute. Fixes: b0cc417c1637 ("dmaengine: Add Xilinx zynqmp dma engine driver support") Reported-by: Nick Desaulniers Suggested-by: Nick Desaulniers Signed-off-by: Nathan Chancellor Reviewed-by: Nick Desaulniers Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/dma/xilinx/zynqmp_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/xilinx/zynqmp_dma.c b/drivers/dma/xilinx/zynqmp_dma.c index c74a88b65039..73de6a6179fc 100644 --- a/drivers/dma/xilinx/zynqmp_dma.c +++ b/drivers/dma/xilinx/zynqmp_dma.c @@ -163,7 +163,7 @@ struct zynqmp_dma_desc_ll { u32 ctrl; u64 nxtdscraddr; u64 rsvd; -}; __aligned(64) +}; /** * struct zynqmp_dma_desc_sw - Per Transaction structure -- 2.19.1