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

Configure Feed

Select the types of activity you want to include in your feed.

devres: fix missing node debug info in devm_krealloc()

Fix missing call to set_node_dbginfo() for new devres nodes created by
devm_krealloc().

Fixes: f82485722e5d ("devres: provide devm_krealloc()")
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20260202235210.55176-2-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>

+2
+2
drivers/base/devres.c
··· 940 940 if (!new_dr) 941 941 return NULL; 942 942 943 + set_node_dbginfo(&new_dr->node, "devm_krealloc_release", new_size); 944 + 943 945 /* 944 946 * The spinlock protects the linked list against concurrent 945 947 * modifications but not the resource itself.