From: Alexey Khoroshilov <khoroshilov@xxxxxxxxx> Date: Sat, 30 Apr 2016 01:11:12 +0300 > If driver_register() failed there is no sense to call driver_unregister(). > unregister_chrdev() should be called here. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov <khoroshilov@xxxxxxxxx> Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html