We print a dump stack after idr_remove warning. This is useful to find
the faulty piece of code. Let's do the same for ida_remove, as it would
be equally useful there.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Tejun Heo <tj@kernel.org>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
err:
printk(KERN_WARNING
"ida_remove called for id=%d which is not allocated.\n", id);
+ dump_stack();
}
EXPORT_SYMBOL(ida_remove);