Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763441Ab3ECUEV (ORCPT ); Fri, 3 May 2013 16:04:21 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:35665 "EHLO mail-ie0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750729Ab3ECUEU (ORCPT ); Fri, 3 May 2013 16:04:20 -0400 MIME-Version: 1.0 In-Reply-To: <1367591569-32197-13-git-send-email-lee.jones@linaro.org> References: <1367591569-32197-1-git-send-email-lee.jones@linaro.org> <1367591569-32197-13-git-send-email-lee.jones@linaro.org> Date: Fri, 3 May 2013 22:04:19 +0200 Message-ID: Subject: Re: [PATCH 12/63] dmaengine: ste_dma40: Remove home-brew MAX() macro From: Linus Walleij To: Lee Jones Cc: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Arnd Bergmann , Linus WALLEIJ , Srinidhi KASAGAR , Vinod Koul , Dan Williams , Per Forlin , Rabin Vincent Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 928 Lines: 23 On Fri, May 3, 2013 at 4:31 PM, Lee Jones 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 > Cc: Dan Williams > Cc: Per Forlin > Cc: Rabin Vincent > Acked-by: Linus Walleij > Reported-by: Harvey Harrison > Signed-off-by: Lee Jones 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/