Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2620c6e31735248ac26403558bd4279a8af619d8
Commit:     2620c6e31735248ac26403558bd4279a8af619d8
Parent:     0449359f053829ec89c026b5fb80bbe7190a5fe8
Author:     Antonino A. Daplas <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 00:39:42 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:15:32 2007 -0700

    nvidiafb: fix return value of nvidiafb_open()
    
    Fix return value of nvidiafb_open().
    
    Signed-off-by: Antonino Daplas <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/video/nvidia/nvidia.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c
index 6105753..7c36b5f 100644
--- a/drivers/video/nvidia/nvidia.c
+++ b/drivers/video/nvidia/nvidia.c
@@ -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 = {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to