The patch titled Subject: idr: print a stack dump after ida_remove warning has been added to the -mm tree. Its filename is idr-print-a-stack-dump-after-ida_remove-warning.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Jean Delvare <jdelvare@xxxxxxx> Subject: idr: print a stack dump after ida_remove warning 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@xxxxxxx> Cc: Tejun Heo <tj@xxxxxxxxxx> Cc: Takashi Iwai <tiwai@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/idr.c | 1 + 1 file changed, 1 insertion(+) diff -puN lib/idr.c~idr-print-a-stack-dump-after-ida_remove-warning lib/idr.c --- a/lib/idr.c~idr-print-a-stack-dump-after-ida_remove-warning +++ a/lib/idr.c @@ -1066,6 +1066,7 @@ void ida_remove(struct ida *ida, int id) err: printk(KERN_WARNING "ida_remove called for id=%d which is not allocated.\n", id); + dump_stack(); } EXPORT_SYMBOL(ida_remove); _ Patches currently in -mm which might be from jdelvare@xxxxxxx are origin.patch linux-next.patch idr-print-a-stack-dump-after-ida_remove-warning.patch idr-print-a-stack-dump-after-ida_remove-warning-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html