[PATCH 08/32 v2] dmaengine: ste_dma40: Remove home-brew MAX() macro

Linus Walleij linus.walleij at linaro.org
Thu Apr 25 08:48:34 EDT 2013


On Wed, Apr 24, 2013 at 10:49 AM, 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>
> Reported-by: Harvey Harrison <harvey.harrison at gmail.com>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>

Ah this v2 version is OK, atleast it makes the kernel look nicer.
Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list