lkml.org 
[lkml]   [2016]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] ide-tape: fix misprint in failure handling in idetape_init()
From
From: Alexey Khoroshilov <khoroshilov@ispras.ru>
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@ispras.ru>

Applied.

\
 
 \ /
  Last update: 2016-07-27 01:01    [W:0.381 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site