diff options
| author | Jonas Karlman <[email protected]> | 2026-08-11 23:16:48 +0000 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-08-24 13:58:00 -0600 |
| commit | 480644c06e202abec58543aec502f218939fff1e (patch) | |
| tree | bf3b79e3c718430c7a442ef2225a06349af1aa71 /scripts/basic | |
| parent | 93e5e5f4cbefccab206a79f86e98c2c39a9d2440 (diff) | |
lmb: Return -EFAULT when freeing unallocated memory regions
Make lmb_free() return -EFAULT when the requested memory region is not
allocated, instead of the generic -1 error value.
Document the updated error code in the public API comment and change the
LMB unit test to check for the new -EFAULT errno value.
Signed-off-by: Jonas Karlman <[email protected]>
Reviewed-by: Randolph Sapp <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
