Re: [PATCH v1] clang-format: Fix formatting of guard()
From: Miguel Ojeda
Date: Wed Jul 08 2026 - 08:49:55 EST
On Wed, Jul 8, 2026 at 2:34 PM Mickaël Salaün <mic@xxxxxxxxxxx> wrote:
>
> I guess parts 2 and 3 should probably be send for v7.13 (it's a big
> patch) whereas part 1 in 7.12-rcX, so I'll let you handle that properly.
Sometimes I sent these PRs to Linus in -rcs, to catch new code, so it
should be fine, I can do it either way.
> Yes, thanks. I'll keep the Landlock-specific patch I sent.
Sounds good.
> Yes, but I enforce it for Landlock, which helps a lot:
Yeah, that is very good, and I am very glad to see it is useful for
you and that you could get to enforcement.
What I meant is that it cannot really be "truly enforced" across
trees, especially if the config keeps changing and so on; unlike
`rustfmt`, where one is not supposed to push anything to linux-next
that doesn't pass.
I mean, I would love if we could, but it is a very long-term thing.
Over time, my hope is that more subsystems start enforcing it on their
own and so on.
Cheers,
Miguel