Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3627114imu; Mon, 28 Jan 2019 08:04:48 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Y/+PjWDXJPJccgBCZp09avAAsV1dIfxEh/4wMuvZxHn7/0g9hESXkBthJQ8X+nQ9Dmx5z X-Received: by 2002:a63:ca02:: with SMTP id n2mr20456906pgi.187.1548691488739; Mon, 28 Jan 2019 08:04:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548691488; cv=none; d=google.com; s=arc-20160816; b=SKVgcRL+ybOXTIOXRnpcEjKu/1CzIRcOVqmVbc3d6FV3WLPisbLmDSbGvGe4K2hJaF /SCxRPBDgJldKLr846aUvFtCrrE+M/vOHV+fXUHUvmH5yTZBQ2jNnCmbz1Pwyh7X8mvK o1oyCA38Px4aXTRLvksQszORl9rVv5M30GQaPplm17iFzeQLh73K9RoH6T9vAV1pj7DJ snqQcGGv2WsuI6AC2XIabrFOzYUcIoSNGosJdKWWAavOFW8Umwx5tslwxO8Rx2XnB+Nf fGnJh2t122r0gnUMBWxLUZWJ3NZjknWQFATK/rwsY3z0K08Od4fTzcPZ7eMsKrITRHEu D8uw== 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:date:subject:cc:to:from :dkim-signature; bh=bAiKm18HxBvF7hy/oZ1Y5nLcZ92Eu611+RySsSVkG5c=; b=zNvcOZNpjiJkPRQM7KQC1RRT90sMqDw/YLKZ02tUYhNCrOP9W2WEZ6buvGpnqXGKAY o+VI7MF0h39Z2lqH6/4SZ60diNrcTQkse7890GMuDjy6OfG4P0in4PqppH8ZDaZHcViG bxyX1lVt2Uv34t37Yi4N1eIqU0Q8vMrDxiu4069r/l2bRMQsx1doL6docShDvbj6jxVB h5DMwJWJsyx4Qk7F+u2JPUcO/8gsdktoXCBEQ//7ZlK3YNOYxZ1B+waKMm4rhHAAkDIP vgHGDrQF9kOUnLLyEbVq5MQzgSSgmXheqGJHr9szmmlv5KZHfoTv8ku0okSt0EUw9YVn AufQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cE9QmrDa; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p4si25882393pga.514.2019.01.28.08.04.33; Mon, 28 Jan 2019 08:04:48 -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=cE9QmrDa; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731237AbfA1QCb (ORCPT + 99 others); Mon, 28 Jan 2019 11:02:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:47814 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730072AbfA1QCa (ORCPT ); Mon, 28 Jan 2019 11:02:30 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ED87F21917; Mon, 28 Jan 2019 16:02:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548691349; bh=uOFtN1pOPfF8tsDpVxzyAfV8QFr9IK5zn8EI/buEzow=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cE9QmrDaFPEUR8aFvj+pv7dfI74LLd56mtAoHZyEMuipK75SJNvQ75XMBtitbFAJA u5V53Fs2f/4GOYB0HhVYv6welyobhvLGNUI7MrtPkwbG1Cofgri7pIzzR4Q3cebtdt yo1eNctBKSgJ0fNeqk96xABjVgLF63z2oCpWtiyU= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Nathan Chancellor , Vinod Koul , Sasha Levin , dmaengine@vger.kernel.org Subject: [PATCH AUTOSEL 4.19 064/258] dmaengine: xilinx_dma: Remove __aligned attribute on zynqmp_dma_desc_ll Date: Mon, 28 Jan 2019 10:56:10 -0500 Message-Id: <20190128155924.51521-64-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190128155924.51521-1-sashal@kernel.org> References: <20190128155924.51521-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nathan Chancellor [ 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