mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
nvidiafb: fix return value of nvidiafb_open()
Fix return value of nvidiafb_open(). Signed-off-by: Antonino Daplas <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
0449359f05
commit
2620c6e317
@ -1016,7 +1016,7 @@ static int nvidiafb_release(struct fb_info *info, int user)
|
||||
par->open_count--;
|
||||
done:
|
||||
mutex_unlock(&par->open_lock);
|
||||
return 0;
|
||||
return err;
|
||||
}
|
||||
|
||||
static struct fb_ops nvidia_fb_ops = {
|
||||
|
Loading…
Reference in New Issue
Block a user