From: tglx@linutronix.de (Thomas Gleixner)
To: linux-arm-kernel@lists.infradead.org
Subject: [RESEND PATCH v4 1/5] clocksource: move some enums and marcos to header file for arm_arch_timer
Date: Fri, 18 Mar 2016 10:27:56 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.11.1603181016560.3978@nanos> (raw)
In-Reply-To: <1458288053-29031-2-git-send-email-fu.wei@linaro.org>
On Fri, 18 Mar 2016, fu.wei at linaro.org wrote:
Subject: clocksource: move some enums and marcos to header file for arm_arch_timer
That sucks.
1) The prefix is crap. It suggests this is about the generic clocksource code
clocksource/drivers/arm_arch_timer:
Is the proper prefix
2) Sentences start with upper case letters
3) What exactly are 'marcos' ?
So a useful subject line would be;
clocksource/drivers/arm_arch_timer: Move enums and defines to header file
> From: Fu Wei <fu.wei@linaro.org>
>
> The patch sorts out the code for arm_arch_timer:
What does it sort out? Nothing, AFAICT.
You miss to explain WHY you are doing this. The list below is completely
useless because one can see that from the patch.
So this wants to be something like this:
To support the arm_arch_timer via ACPI we need to share defines and enums
between the driver and the ACPI parser code.
Split out the relevant defines and enums into arm_arch_timer.h. No functional
change.
> (1)move enum ppi_nr to the header file
> (2)move "ARCH_*_TIMER" marcos to the header file
> (3)add enum spi_nr in the header file, and use it in the driver
> (4)add ARCH_WD_TIMER and ARCH_TIMER_MEM_MAX_FRAME marcos
So this does 3 things at once.
1) Move existing defines and enums
2) Add a new enum and convert the driver to use it
3) Add new defines without using them
So this needs to be seperate
#1) This patch
#2) Seperate patch which adds the new enum and converts the places in the
driver
#3) This needs to go into the patch which actually uses the defines.
Thanks,
tglx
next prev parent reply other threads:[~2016-03-18 9:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-18 8:00 [RESEND PATCH v4 0/5] acpi, clocksource: add GTDT and ARM memory-mapped timer support fu.wei at linaro.org
2016-03-18 8:00 ` [RESEND PATCH v4 1/5] clocksource: move some enums and marcos to header file for arm_arch_timer fu.wei at linaro.org
2016-03-18 9:27 ` Thomas Gleixner [this message]
2016-03-29 9:38 ` Fu Wei
2016-03-18 8:00 ` [RESEND PATCH v4 2/5] ACPI: add GTDT table parse driver into ACPI driver fu.wei at linaro.org
2016-03-18 14:45 ` Daniel Lezcano
2016-03-18 8:00 ` [RESEND PATCH v4 3/5] clocksource: simplify ACPI code in arm_arch_timer.c fu.wei at linaro.org
2016-03-18 8:00 ` [RESEND PATCH v4 4/5] clocksource: a little improvment for printk " fu.wei at linaro.org
2016-03-18 8:00 ` [RESEND PATCH v4 5/5] clocksource: add memory-mapped timer support " fu.wei at linaro.org
2016-03-18 9:32 ` Thomas Gleixner
2016-03-18 13:37 ` [RESEND PATCH v4 0/5] acpi, clocksource: add GTDT and ARM memory-mapped timer support Daniel Lezcano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.11.1603181016560.3978@nanos \
--to=tglx@linutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox