Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.26-rc1-git9 /drivers/char/serial167.c

Filename:/drivers/char/serial167.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.6.26-rc1-git8  2.6.26-rc1-git7  2.6.26-rc1-git6  2.6.26-rc1-git5  2.6.26-rc1-git4  2.6.26-rc1 
(Following) 2.6.26-rc2  2.6.26-rc3  2.6.26-rc4  2.6.26-rc5  2.6.26-rc6  2.6.26-rc7 

Location
[  2.6.26-rc1-git9
  [  drivers
    [  char
       o  serial167.c

Patch

diff --git a/drivers/char/serial167.c b/drivers/char/serial167.c
index fd2db07..3b23270 100644
--- a/drivers/char/serial167.c
+++ b/drivers/char/serial167.c
@@ -1073,7 +1073,7 @@ static int cy_put_char(struct tty_struct *tty, unsigned char ch)
       return 0;
 
    if (!info->xmit_buf)
-      return;
+      return 0;
 
    local_irq_save(flags);
    if (info->xmit_cnt >= PAGE_SIZE - 1) {


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.