diff options
| author | Mickaël Salaün <mic@digikod.net> | 2026-07-08 12:57:10 +0200 |
|---|---|---|
| committer | Mickaël Salaün <mic@digikod.net> | 2026-11-19 17:02:51 +0100 |
| commit | b2a9f2d43bbdf6dcf178e300c815816a4fe4447d (patch) | |
| tree | e9ecc6573577521974a3ec35effb6638daca958a /tools/perf/scripts/python | |
| parent | 74656cdfc01c0fe5d7cb2488c05007911cfac916 (diff) | |
clang-format: Fix formatting of guard()
The previous fix was overzealous and included guard() along with
scoped_guard(), but only the later takes curly braces.
The original fix introduced this issue:
- guard(rcu)();
+ guard(rcu)
+ ();
This is especially visible with security/landlock/*.[ch] which is fully
formatted with clang-format.
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Günther Noack <gnoack@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Miguel Ojeda <ojeda@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: stable@vger.kernel.org
Fixes: 99df2a8eba34 ("clang-format: fix formatting of guard() and scoped_guard() statements")
Closes: https://lore.kernel.org/r/20260702.Eibibi4the9j@digikod.net
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20260708105713.2073335-1-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
