fix(kernel): ✏️ correct ReturnLogError macro structure

Missing "do".
This commit is contained in:
EnderIce2 2025-04-27 04:24:24 +00:00
parent 3404bbc3bc
commit 2791a602b5
Signed by: enderice2
GPG Key ID: FEB6B8A8507BA62E

View File

@ -476,12 +476,11 @@ typedef uint48_t uint_fast48_t;
*((type *)stack++)
#define ReturnLogError(ret, format, ...) \
do \
{ \
trace(format, ##__VA_ARGS__); \
return ret; \
} \
while (0) \
__builtin_unreachable()
} while (0)
#define AssertReturnError(condition, ret) \
do \