Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758247Ab3EAO2x (ORCPT ); Wed, 1 May 2013 10:28:53 -0400 Received: from mail-we0-f173.google.com ([74.125.82.173]:39200 "EHLO mail-we0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751525Ab3EAO2q (ORCPT ); Wed, 1 May 2013 10:28:46 -0400 Date: Wed, 1 May 2013 15:28:41 +0100 From: Lee Jones To: vinod.koul@intel.com Cc: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Arnd Bergmann , Linus WALLEIJ , Vinod Koul , Dan Williams , Per Forlin , Rabin Vincent , linus.walleij@linaro.org Subject: Re: [PATCH 08/32 v2] dmaengine: ste_dma40: Remove home-brew MAX() macro Message-ID: <20130501142841.GF25256@gmail.com> References: <1366279934-30761-1-git-send-email-lee.jones@linaro.org> <1366279934-30761-9-git-send-email-lee.jones@linaro.org> <20130424084912.GH17416@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1020 Lines: 26 > > 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 > > Reported-by: Harvey Harrison > > Signed-off-by: Lee Jones > > Ah this v2 version is OK, atleast it makes the kernel look nicer. > Acked-by: Linus Walleij Vinod, poke. -- Lee Jones Linaro ST-Ericsson Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- 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/