lkml.org 
[lkml]   [2012]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/3] perf: use hrtimer for event multiplexing
From
Date
On Fri, 2012-09-07 at 16:29 +0200, Stephane Eranian wrote:

Style nit:

> + if (h->active)
> + list_for_each_entry_safe(cpuctx, tmp, head, rotation_list)
> + rotations += perf_rotate_context(cpuctx);


> + if (!hrtimer_callback_running(hr))
> + __hrtimer_start_range_ns(hr, ns_to_ktime(PERF_CPU_HRTIMER),
> + 0, HRTIMER_MODE_REL_PINNED, 0);


All multi-line statements should be a stmt block, even if not strictly
required.


\
 
 \ /
  Last update: 2012-09-07 23:02    [from the cache]
©2003-2011 Jasper Spaans