From 69592710fa9cd550d14280e60224330c86b2bb36 Mon Sep 17 00:00:00 2001 From: Marek Slowinski Date: Mon, 28 Apr 2025 12:58:11 +0200 Subject: [PATCH] tests: debug/coredump: Disable clang-format for column-aligned macro Keep manually aligned lines for better readability. Signed-off-by: Marek Slowinski --- tests/subsys/debug/coredump/src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/subsys/debug/coredump/src/main.c b/tests/subsys/debug/coredump/src/main.c index 0d891df331d..8e31cb61240 100644 --- a/tests/subsys/debug/coredump/src/main.c +++ b/tests/subsys/debug/coredump/src/main.c @@ -32,6 +32,7 @@ void k_sys_fatal_error_handler(unsigned int reason, const struct arch_esf *pEsf) */ __no_optimization void func_3(uint32_t *addr) { + /* clang-format off */ #if defined(CONFIG_BOARD_M2GL025_MIV) || \ defined(CONFIG_BOARD_HIFIVE1) || \ defined(CONFIG_BOARD_HIFIVE_UNLEASHED) || \ @@ -42,6 +43,7 @@ __no_optimization void func_3(uint32_t *addr) defined(CONFIG_SOC_FAMILY_INTEL_ISH) || \ defined(CONFIG_SOC_FAMILY_INTEL_ADSP) || \ defined(CONFIG_SOC_FAMILY_OPENHWGROUP_CVA6) + /* clang-format on */ ARG_UNUSED(addr); /* Call k_panic() directly so Renode doesn't pause execution. * Needed on ADSP as well, since null pointer derefence doesn't