Skip to content

Commit dff2b6c

Browse files
committed
llext: (cosmetic) fix a misplaced space and re-use a variable
Use an existing variable instead of re-calculating and fix swapped space and a paranthesis. Signed-off-by: Guennadi Liakhovetski <[email protected]>
1 parent f86dd0e commit dff2b6c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

subsys/llext/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ config LLEXT_TYPE_ELF_OBJECT
2626
config LLEXT_TYPE_ELF_RELOCATABLE
2727
bool "Relocatable ELF file"
2828
help
29-
Build and expect relocatable (partially linked )files as the
29+
Build and expect relocatable (partially linked) files as the
3030
binary object type for the llext subsystem. These object files
3131
are generated by the linker by combining multiple object files
3232
into a single one.

subsys/llext/llext.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,7 @@ static int llext_find_tables(struct llext_loader *ldr)
165165
}
166166

167167
LOG_DBG("section %d at %zx: name %d, type %d, flags %zx, addr %zx, size %zd",
168-
i,
169-
(size_t)ldr->hdr.e_shoff + i * ldr->hdr.e_shentsize,
168+
i, pos,
170169
shdr.sh_name,
171170
shdr.sh_type,
172171
(size_t)shdr.sh_flags,

0 commit comments

Comments
 (0)