Thread (31 messages) flat view 31 messages, 3 authors, 2017-01-18

[PATCH v19 10/15] clocksource/drivers/arm_arch_timer: Refactor the timer init code to prepare for GTDT

From: Fu Wei <hidden>
Date: 2017-01-17 13:23:13
Also in: linux-acpi, linux-watchdog, lkml

Hi Mark,

On 17 January 2017 at 20:29, Mark Rutland [off-list ref] wrote:
On Tue, Jan 17, 2017 at 06:18:12AM -0600, Timur Tabi wrote:
quoted
Fu Wei wrote:
quoted
if (i >= ARCH_TIMER_MEM_MAX_FRAMES) {
       pr_err(FW_BUG "too many frames, ARMv8 spec only allows 8.\n");
pr_err(FW_BUG "too many frames, ARMv8 spec only allows %u.\n",
      ARCH_TIMER_MEM_MAX_FRAMES);
While I don't see ARCH_TIMER_MEM_MAX_FRAMES changing, this would be
nicer to ensure the result obviously matches.

As for wording, I'd perfer:

        pr_err(FW_BUG "too many frames, only %u are permitted.\n",
               ARCH_TIMER_MEM_MAX_FRAMES);
OK, will do so.
Thanks!
... so as to avoid any confusion between spec versions and so on. We can
reconsider the message if/when that changes.

Thanks,
Mark.


-- 
Best regards,

Fu Wei
Software Engineer
Red Hat
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help