Re: [PATCH] dma: bcm2835: Fix compiler warning on arm64.

2016-06-06 Thread Eric Anholt
Vinod Koul writes: > On Fri, Jun 03, 2016 at 07:23:33PM -0700, Eric Anholt wrote: >> The min() macro was complaining about mismatched types. The max len >> is at most SZ_1G, so we can just put it in an unsigned int. >> >> Signed-off-by: Eric Anholt >>

Re: [PATCH] dma: bcm2835: Fix compiler warning on arm64.

2016-06-06 Thread Eric Anholt
Vinod Koul writes: > On Fri, Jun 03, 2016 at 07:23:33PM -0700, Eric Anholt wrote: >> The min() macro was complaining about mismatched types. The max len >> is at most SZ_1G, so we can just put it in an unsigned int. >> >> Signed-off-by: Eric Anholt >> --- >> >> Vinod, if you ack it, this one

Re: [PATCH] dma: bcm2835: Fix compiler warning on arm64.

2016-06-05 Thread Vinod Koul
On Fri, Jun 03, 2016 at 07:23:33PM -0700, Eric Anholt wrote: > The min() macro was complaining about mismatched types. The max len > is at most SZ_1G, so we can just put it in an unsigned int. > > Signed-off-by: Eric Anholt > --- > > Vinod, if you ack it, this one would be

Re: [PATCH] dma: bcm2835: Fix compiler warning on arm64.

2016-06-05 Thread Vinod Koul
On Fri, Jun 03, 2016 at 07:23:33PM -0700, Eric Anholt wrote: > The min() macro was complaining about mismatched types. The max len > is at most SZ_1G, so we can just put it in an unsigned int. > > Signed-off-by: Eric Anholt > --- > > Vinod, if you ack it, this one would be nice to be able to

[PATCH] dma: bcm2835: Fix compiler warning on arm64.

2016-06-03 Thread Eric Anholt
The min() macro was complaining about mismatched types. The max len is at most SZ_1G, so we can just put it in an unsigned int. Signed-off-by: Eric Anholt --- Vinod, if you ack it, this one would be nice to be able to merge through the -soc tree, so that when we enable of

[PATCH] dma: bcm2835: Fix compiler warning on arm64.

2016-06-03 Thread Eric Anholt
The min() macro was complaining about mismatched types. The max len is at most SZ_1G, so we can just put it in an unsigned int. Signed-off-by: Eric Anholt --- Vinod, if you ack it, this one would be nice to be able to merge through the -soc tree, so that when we enable of arm64 builds of this