Commit 527dcf4c authored by Kulikov Vasiliy's avatar Kulikov Vasiliy Committed by Linus Torvalds

drivers/video/igafb.c: introduce lost 'return'

If iga_init() fails, code releases resources and continues to use it.  It
seems that after releasing resources 'return' should be.
Signed-off-by: default avatarKulikov Vasiliy <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent c07fbfd1
......@@ -531,6 +531,7 @@ int __init igafb_init(void)
return -ENODEV;
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