commit d0975e245898ed621e15cfb81acdd4a402082d44 Author: Matthew Dillon <dil...@apollo.backplane.com> Date: Sat Mar 9 11:24:26 2019 -0800
kernel - Fix IDR bugs * Allow ptr to be NULL in idr_remove() and idr_replace(). * Note that linux ERR returns from idr_replace() still not implemented (requires the related ERR macros to be moved out of drm). idr_replace() still returns NULL when the id cannot be found. Requested-by: aly Summary of changes: share/man/man9/idr.9 | 8 +++++--- sys/libkern/linux_idr.c | 20 ++++++++++++-------- sys/sys/idr.h | 5 ++--- 3 files changed, 19 insertions(+), 14 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d0975e245898ed621e15cfb81acdd4a402082d44 -- DragonFly BSD source repository