Skip to content

Commit 4d5e8e9

Browse files
llext: hotfix: adding missing parentheses on macro INSTR_FETCHABLE
1 parent f908d0b commit 4d5e8e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/llext/llext_priv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
(uintptr_t)(base_addr + alloc) <= \
2525
DT_REG_ADDR(DT_INST(inst, compat)) + DT_REG_SIZE(DT_INST(inst, compat)))) ||
2626
#define INSTR_FETCHABLE(base_addr, alloc) \
27-
DT_COMPAT_FOREACH_STATUS_OKAY_VARGS(arc_iccm, IN_NODE, base_addr, alloc) false
27+
(DT_COMPAT_FOREACH_STATUS_OKAY_VARGS(arc_iccm, IN_NODE, base_addr, alloc) false)
2828
#elif CONFIG_HARVARD && !CONFIG_ARC
2929
/* Unknown if section / region is in instruction memory; warn or compensate */
3030
#define INSTR_FETCHABLE(base_addr, alloc) false

0 commit comments

Comments
 (0)