Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4ae8aeae47e0f014ec453c4b75c9de00bd29e9e6
Commit:     4ae8aeae47e0f014ec453c4b75c9de00bd29e9e6
Parent:     0aa42632d3a0024700b25f57fd0fca56f6abad24
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 22 14:02:01 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Aug 22 19:52:47 2007 -0700

    newport_con warning fix
    
    drivers/video/console/newport_con.c: In function `newport_console_init':
    drivers/video/console/newport_con.c:743: warning: return makes integer from 
pointer without a cast
    
    Although one wonders whether that should have been -ENODEV...
    
    Cc: "Antonino A. Daplas" <[EMAIL PROTECTED]>
    Cc: Ralf Baechle <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/video/console/newport_con.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/video/console/newport_con.c 
b/drivers/video/console/newport_con.c
index 7fa1afe..dda0586 100644
--- a/drivers/video/console/newport_con.c
+++ b/drivers/video/console/newport_con.c
@@ -738,9 +738,8 @@ const struct consw newport_con = {
 #ifdef MODULE
 static int __init newport_console_init(void)
 {
-
        if (!sgi_gfxaddr)
-               return NULL;
+               return 0;
 
        if (!npregs)
                npregs = (struct newport_regs *)/* ioremap cannot fail */
-
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