[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181124134155.GC3175@vkoul-mobl.Dlink>
Date: Sat, 24 Nov 2018 19:11:55 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Nathan Chancellor <natechancellor@...il.com>
Cc: Dan Williams <dan.j.williams@...el.com>,
Michal Simek <michal.simek@...inx.com>,
dmaengine@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Nick Desaulniers <ndesaulniers@...gle.com>
Subject: Re: [PATCH] dmaengine: xilinx_dma: Remove __aligned attribute on
zynqmp_dma_desc_ll
On 25-10-18, 11:05, Nathan Chancellor wrote:
> 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'
> #define __aligned(x) __attribute__((aligned(x)))
> ^
> 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.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists