Re: [PATCH 12/63] dmaengine: ste_dma40: Remove home-brew MAX() macro

From: Linus Walleij
Date: Fri May 03 2013 - 16:04:25 EST


On Fri, May 3, 2013 at 4:31 PM, Lee Jones <lee.jones@xxxxxxxxxx> wrote:

> The current implementation of the DMA40's local MAX() macro evaluates
> its arguments more times than is necessary and it not type checked.
> This patch strips replaces it with a new, more efficient constant.
>
> Cc: Vinod Koul <vinod.koul@xxxxxxxxx>
> Cc: Dan Williams <djbw@xxxxxx>
> Cc: Per Forlin <per.forlin@xxxxxxxxxxxxxx>
> Cc: Rabin Vincent <rabin@xxxxxx>
> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Reported-by: Harvey Harrison <harvey.harrison@xxxxxxxxx>
> Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>

Patch applied to my ux500-dma40 branch with some fuzzing.

Thanks!
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/