diff --git a/drivers/base/devres.c b/drivers/base/devres.c index 8a0f00022127..8069b7ca26fb 100644 --- a/drivers/base/devres.c +++ b/drivers/base/devres.c @@ -913,6 +913,8 @@ void *devm_krealloc(struct device *dev, void *ptr, size_t new_size, gfp_t gfp) if (!new_dr) return NULL; + set_node_dbginfo(&new_dr->node, "devm_krealloc_release", new_size); + /* * The spinlock protects the linked list against concurrent * modifications but not the resource itself.