llext: Fix wrong check
In llext_copy_symbols the check after llext_read was looking the result of llext_seek operation instead of the read. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
9834fabe2d
commit
2d5b781e99
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ static inline int llext_copy_symbols(struct llext_loader *ldr, struct llext *ext
|
|||
goto out;
|
||||
}
|
||||
|
||||
llext_read(ldr, name, sizeof(name));
|
||||
ret = llext_read(ldr, name, sizeof(name));
|
||||
if (ret != 0) {
|
||||
goto out;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue