Re: [PATCH 3/3] sched_clock: Fix formatting of frequency reporting code

From: John Stultz
Date: Tue Apr 26 2022 - 16:41:42 EST


On Sun, Apr 24, 2022 at 4:47 AM Maciej W. Rozycki <macro@xxxxxxxxxxx> wrote:
>
> Use flat rather than nested indentation for chained else/if clauses as
> per coding-style.rst:
>
> if (x == y) {
> ..
> } else if (x > y) {
> ...
> } else {
> ....
> }
>
> This also improves readability.
>
> Signed-off-by: Maciej W. Rozycki <macro@xxxxxxxxxxx>
> Fixes: 32fea568aec5b ("timers, sched/clock: Clean up the code a bit")

This patch seems fine to me. Though as Ingo was the one to introduce
the change, his style preference may override in this case.

Acked-by: John Stultz <jstultz@xxxxxxxxxx>

thanks
-john