Re: [PATCH] acpi-dma: fix sparse warning

2013-06-18 Thread Mika Westerberg
On Tue, Jun 18, 2013 at 05:19:27PM +0300, Andy Shevchenko wrote: > This patch fixes sparse warning: > drivers/dma/acpi-dma.c:76:21: sparse: cast to restricted __le32 > > Since everything in all ACPI tables is little-endian, by definition, the used > types in practice are uXX. Thus, we have t

[PATCH] acpi-dma: fix sparse warning

2013-06-18 Thread Andy Shevchenko
This patch fixes sparse warning: drivers/dma/acpi-dma.c:76:21: sparse: cast to restricted __le32 Since everything in all ACPI tables is little-endian, by definition, the used types in practice are uXX. Thus, we have to enforce __leXX if we want to convert them to CPU order. Signed-off-by: