[GIT pull] core/debugobjects for v7.1-rc1

From: Thomas Gleixner

Date: Sun Apr 12 2026 - 13:46:08 EST


Linus,

please pull the latest core/debugobjects branch from:

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

up to: 723ddce93e8d: debugobjects: Drop likely() around !IS_ERR_OR_NULL()

A trivial update for debugobjects to drop a pointless likely() around
IS_ERR_OR_NULL().

Thanks,

tglx

------------------>
Philipp Hahn (1):
debugobjects: Drop likely() around !IS_ERR_OR_NULL()


lib/debugobjects.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/debugobjects.c b/lib/debugobjects.c
index 12f50de85b62..12e2e42e6a31 100644
--- a/lib/debugobjects.c
+++ b/lib/debugobjects.c
@@ -1024,7 +1024,7 @@ void debug_object_assert_init(void *addr, const struct debug_obj_descr *descr)
raw_spin_lock_irqsave(&db->lock, flags);
obj = lookup_object_or_alloc(addr, db, descr, false, true);
raw_spin_unlock_irqrestore(&db->lock, flags);
- if (likely(!IS_ERR_OR_NULL(obj)))
+ if (!IS_ERR_OR_NULL(obj))
return;

/* If NULL the allocation has hit OOM */