Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'core-debugobjects-2026-04-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull debugobjects update from Thomas Gleixner:
"A trivial update for debugobjects to drop a pointless likely() around
IS_ERR_OR_NULL()"

* tag 'core-debugobjects-2026-04-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
debugobjects: Drop likely() around !IS_ERR_OR_NULL()

+1 -1
+1 -1
lib/debugobjects.c
··· 1024 1024 raw_spin_lock_irqsave(&db->lock, flags); 1025 1025 obj = lookup_object_or_alloc(addr, db, descr, false, true); 1026 1026 raw_spin_unlock_irqrestore(&db->lock, flags); 1027 - if (likely(!IS_ERR_OR_NULL(obj))) 1027 + if (!IS_ERR_OR_NULL(obj)) 1028 1028 return; 1029 1029 1030 1030 /* If NULL the allocation has hit OOM */