17 Jun
2013
17 Jun
'13
9:01 p.m.
On Mon, Jun 17, 2013 at 03:51:20PM +0200, Linus Walleij wrote:
On Sun, Jun 16, 2013 at 10:54 PM, Tomasz Figa tomasz.figa@gmail.com wrote:
diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c index eb10eb8..0da5539 100644 --- a/drivers/dma/amba-pl08x.c +++ b/drivers/dma/amba-pl08x.c @@ -127,6 +127,7 @@ struct pl08x_lli { u32 lli; u32 cctl; u32 cctl1;
u32 dummy[3];
Atleast put a comment into the code explaining what this is all about. Or someone will add another member to the struct and all is lost. Call it "padding" rather than dummy.
Another solution to that is to use __attribute__((__aligned__(16))) if you want it aligned to 16 byte boundaries.