Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757848Ab3DYMsi (ORCPT ); Thu, 25 Apr 2013 08:48:38 -0400 Received: from mail-oa0-f48.google.com ([209.85.219.48]:65313 "EHLO mail-oa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756155Ab3DYMsh (ORCPT ); Thu, 25 Apr 2013 08:48:37 -0400 MIME-Version: 1.0 In-Reply-To: <20130424084912.GH17416@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> Date: Thu, 25 Apr 2013 14:48:34 +0200 Message-ID: Subject: Re: [PATCH 08/32 v2] 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 , 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: 935 Lines: 23 On Wed, Apr 24, 2013 at 10:49 AM, 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 > 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 Yours, 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/