Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c3667d5c321ac2211d04a746f91a48d339a0e0a1
Commit:     c3667d5c321ac2211d04a746f91a48d339a0e0a1
Parent:     d7f549fa14ed7e3d72927e89dec721eeff4a0159
Author:     Jiri Slaby <[EMAIL PROTECTED]>
AuthorDate: Thu Feb 7 00:16:43 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu Feb 7 08:42:34 2008 -0800

    Char: mxser, 0 to NULL in pointer
    
    Don't test a pointer against 0. Use NULL instead.
    
    Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]>
    Reviewed-by: Alan Cox <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/char/mxser_new.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c
index 0b25457..d2dcc54 100644
--- a/drivers/char/mxser_new.c
+++ b/drivers/char/mxser_new.c
@@ -2153,7 +2153,7 @@ static void mxser_transmit_chars(struct mxser_port *port)
                return;
        }
 
-       if (port->xmit_buf == 0)
+       if (port->xmit_buf == NULL)
                return;
 
        if ((port->xmit_cnt <= 0) || port->tty->stopped ||
-
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