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

Linus Walleij linus.walleij at linaro.org
Fri May 3 16:04:19 EDT 2013


On Fri, May 3, 2013 at 4:31 PM, Lee Jones <lee.jones at linaro.org> 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 at intel.com>
> Cc: Dan Williams <djbw at fb.com>
> Cc: Per Forlin <per.forlin at stericsson.com>
> Cc: Rabin Vincent <rabin at rab.in>
> Acked-by: Linus Walleij <linus.walleij at linaro.org>
> Reported-by: Harvey Harrison <harvey.harrison at gmail.com>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>

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

Thanks!
Linus Walleij



More information about the linux-arm-kernel mailing list