Re: [PATCH] ide-tape: fix misprint in failure handling in idetape_init()

From: David Miller
Date: Tue Jul 26 2016 - 18:26:18 EST


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.