diff options
| author | Michael Brown | 2025-04-20 18:18:06 +0200 |
|---|---|---|
| committer | Michael Brown | 2025-04-20 18:20:30 +0200 |
| commit | 63d27c6311db07780dfd7a0bd939c96b60e20a7c (patch) | |
| tree | e229491c088e58c3e01475b7029d6dee64565a35 /src/interface/linux/linux_umalloc.c | |
| parent | [time] Use currticks() to provide the null system time (diff) | |
| download | ipxe-63d27c6311db07780dfd7a0bd939c96b60e20a7c.tar.gz ipxe-63d27c6311db07780dfd7a0bd939c96b60e20a7c.tar.xz ipxe-63d27c6311db07780dfd7a0bd939c96b60e20a7c.zip | |
[uaccess] Rename userptr_sub() to userptr_diff()
Clarify the intended usage of userptr_sub() by renaming it to
userptr_diff() (to avoid confusion with userptr_add()), and fix the
existing call sites that erroneously use userptr_sub() to subtract an
offset from a userptr_t value.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/linux/linux_umalloc.c')
0 files changed, 0 insertions, 0 deletions
