Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2679930imj; Mon, 11 Feb 2019 06:56:48 -0800 (PST) X-Google-Smtp-Source: AHgI3IYJK3CXg7BHWHxH7RLQUkTkGkBU72bKTNFbzTwtELi/qBKilWHdOefEvNcD86E7lQcFE/HK X-Received: by 2002:a65:4842:: with SMTP id i2mr33906929pgs.176.1549897007923; Mon, 11 Feb 2019 06:56:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549897007; cv=none; d=google.com; s=arc-20160816; b=GsLoKQxN7UdRecxEUPXAXwESCKV9FZkr1Ueis/cdjbqFA/QqEMM2JLLTJxKwbb7dzS J7zdnww3pV5TLE04O3PGSuOu9mD6B1ehgRm6RHBusDGlwWbF2Na0I9SkG08ZYaXOmKQT 3QGRp7f3q+mvyfZEih7GyqFFCPE88uSIWZa7YxjRJwRzbM8bN6sJx0dvy9THoNW80ltT +IwLgfuvn1kpNCc0Dj/WDAO5LXptgUxLwoa6xdrlcnZsZ7DlDOD/z4/cOKm1j3WMtngM P3bKENusu5KN1m7Pv+ReV5YD2S3axfnj4nG7RA6af8VNN/q60x3Z1stBx3/vbHBCO3pO BaGQ== 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=uJ2MU/EYm2y43sr0jR13N1WbsuHiPje+Ga20Ocv9+5A=; b=IkjnP2Hy6VTWaXEDYooyljVvU3OqmXZT1uBlZiaOMGNFfFe7EHSQzDxuuHTRQNKNkR G6cGicLTZgVi7bClptPA5Sj1ozW90jz2We5dA8AZfckDkbhMkUY4CYI4TuAqM7LCGoZn pikYP6tWMO220UhG0xjByO4jCwER/MaozkiwiF9LBFQXxocONGghvi+oVaV0OGCkUQCC V4AqfZmtwFWSucXHjdXUEkEv9sd88FTUc7+2rpoIFI1dKLdZGw4i/cAG8wW0nm2nur9V ujqLhZSjIym6pFizLJeeRfvhZvgXJH8olnPbl4NFXsOTVnKjRYnvSd4HnGCqJyWZOQaa ua8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LsQHFyz5; 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 r9si2279221pgn.471.2019.02.11.06.56.29; Mon, 11 Feb 2019 06:56:47 -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=LsQHFyz5; 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 S2388991AbfBKOzd (ORCPT + 99 others); Mon, 11 Feb 2019 09:55:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:42562 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388982AbfBKOza (ORCPT ); Mon, 11 Feb 2019 09:55:30 -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 03D3F2229E; Mon, 11 Feb 2019 14:55:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549896929; bh=iY5M5hu6gCPhds5GjYUofegTk1rdXj3jRGV6zEwR1yI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LsQHFyz5AXqMWfmW3DbLmnpX25ziVe+Zj4Zn1YnPm7Kl7vOvXJSsmHt/YVpA0pGe8 2C3ckATvgG4l+batpJGd45ghn1212bGsz/XK0iUJEnuIFqGL479ZfkwuWBWLjxSEVD 1vOPrUlBDKFuYEAwbgd7OUSXLN3sHypWVkYObOl4= 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.14 035/205] dmaengine: xilinx_dma: Remove __aligned attribute on zynqmp_dma_desc_ll Date: Mon, 11 Feb 2019 15:17:13 +0100 Message-Id: <20190211141830.140048992@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141827.214852402@linuxfoundation.org> References: <20190211141827.214852402@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.14-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 5cc8ed31f26b..6d86d05e53aa 100644 --- a/drivers/dma/xilinx/zynqmp_dma.c +++ b/drivers/dma/xilinx/zynqmp_dma.c @@ -159,7 +159,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