Re: [PATCH v2 02/11] kcov: apply clang-format to kcov code

From: David Laight
Date: Thu Jul 03 2025 - 03:51:55 EST


On Thu, 26 Jun 2025 15:41:49 +0200
Alexander Potapenko <glider@xxxxxxxxxx> wrote:

> kcov used to obey clang-format style, but somehow diverged over time.
> This patch applies clang-format to kernel/kcov.c and
> include/linux/kcov.h, no functional change.
>
...
> -#define kcov_prepare_switch(t) \
> -do { \
> - (t)->kcov_mode |= KCOV_IN_CTXSW; \
> -} while (0)
> +#define kcov_prepare_switch(t) \
> + do { \
> + (t)->kcov_mode |= KCOV_IN_CTXSW; \
> + } while (0)
>

Too many level of indent.

(and too much churn I just deleted)

David