From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754655AbcJZKwf (ORCPT ); Wed, 26 Oct 2016 06:52:35 -0400 Received: from foss.arm.com ([217.140.101.70]:37198 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753618AbcJZKwb (ORCPT ); Wed, 26 Oct 2016 06:52:31 -0400 Date: Wed, 26 Oct 2016 11:51:45 +0100 From: Mark Rutland To: Fu Wei Cc: "Rafael J. Wysocki" , Len Brown , Daniel Lezcano , Thomas Gleixner , Marc Zyngier , Lorenzo Pieralisi , Sudeep Holla , Hanjun Guo , linux-arm-kernel@lists.infradead.org, Linaro ACPI Mailman List , Linux Kernel Mailing List , ACPI Devel Maling List , rruigrok@codeaurora.org, "Abdulhamid, Harb" , Christopher Covington , Timur Tabi , G Gregory , Al Stone , Jon Masters , Wei Huang , Arnd Bergmann , Catalin Marinas , Will Deacon , Suravee Suthikulpanit , Leo Duran , Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org, Tomasz Nowicki , Christoffer Dall , Julien Grall Subject: Re: [PATCH v14 1/9] clocksource/drivers/arm_arch_timer: Move enums and defines to header file Message-ID: <20161026105144.GF19965@leverpostej> References: <1475086637-1914-1-git-send-email-fu.wei@linaro.org> <1475086637-1914-2-git-send-email-fu.wei@linaro.org> <20161020144510.GJ10234@leverpostej> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 On Wed, Oct 26, 2016 at 04:31:55PM +0800, Fu Wei wrote: > On 20 October 2016 at 22:45, Mark Rutland wrote: > > On Thu, Sep 29, 2016 at 02:17:09AM +0800, fu.wei@linaro.org wrote: > >> #include > >> #include > >> > >> +#define ARCH_CP15_TIMER BIT(0) > >> +#define ARCH_MEM_TIMER BIT(1) > > > > If we're going to expose these in a header, it would be better to rename > > them to something that makes their usage/meaning clear. These should > > probably be ARCH_TIMER_TYPE_{CP15,MEM}. > > With those changes (regardless of the ARCH_TIMER_TYPE_* bits): > > > > Acked-by: Mark Rutland > > For ARCH_TIMER_TYPE_*, maybe I should add a patch at the end of this > patchset to fix it, OK ? Sure. If you could put that *earlier* in the patchset it would be preferable so as to minimize churn. Thanks, Mark.