The patch titled unregister_blkdev(): do WARN_ON on failure has been removed from the -mm tree. Its filename was unregister_blkdev-do-warn_on-on-failure.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: unregister_blkdev(): do WARN_ON on failure From: Akinobu Mita <akinobu.mita@xxxxxxxxx> When unregister_blkdev() has failed, something wrong happened. This patch adds WARN_ON to notify of such badness. Cc: Jens Axboe <jens.axboe@xxxxxxxxxx> Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- block/genhd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -puN block/genhd.c~unregister_blkdev-do-warn_on-on-failure block/genhd.c --- a/block/genhd.c~unregister_blkdev-do-warn_on-on-failure +++ a/block/genhd.c @@ -120,9 +120,10 @@ int unregister_blkdev(unsigned int major for (n = &major_names[index]; *n; n = &(*n)->next) if ((*n)->major == major) break; - if (!*n || strcmp((*n)->name, name)) + if (!*n || strcmp((*n)->name, name)) { + WARN_ON(1); ret = -EINVAL; - else { + } else { p = *n; *n = p->next; } _ Patches currently in -mm which might be from akinobu.mita@xxxxxxxxx are origin.patch git-dvb.patch auth_gss-unregister-gss_domain-when-unloading-module.patch unregister_chrdev-ignore-the-return-value.patch unregister_chrdev-return-void.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