Commit abfc2282 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] janitor: paride: better return codes

From: Domen Puncer <domen@coderock.org>
parent 43c7f68f
......@@ -889,7 +889,7 @@ static void do_pd_write_done(void)
static int __init pd_init(void)
{
if (disable)
return -1;
goto out1;
pd_queue = blk_init_queue(do_pd_request, &pd_lock);
if (!pd_queue)
......@@ -913,7 +913,7 @@ static int __init pd_init(void)
out2:
blk_cleanup_queue(pd_queue);
out1:
return -1;
return -ENODEV;
}
static void __exit pd_exit(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment