mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drivers/isdn/i4l/isdn_tty.c in BK HEAD doesn't compile
@ 2004-09-30  9:55 Thomas Glanzmann
  2004-09-30 11:31 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Glanzmann @ 2004-09-30  9:55 UTC (permalink / raw)
  To: LKML

[-- Attachment #1: Type: text/plain, Size: 722 bytes --]

Hello everyone,

(excalibur) [/scratch/src/excalibur] make
  CHK     include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
  CC      drivers/isdn/i4l/isdn_tty.o
drivers/isdn/i4l/isdn_tty.c: In function `isdn_tty_modem_result':
drivers/isdn/i4l/isdn_tty.c:2676: error: `tty' undeclared (first use in this function)
drivers/isdn/i4l/isdn_tty.c:2676: error: (Each undeclared identifier is reported only once
drivers/isdn/i4l/isdn_tty.c:2676: error: for each function it appears in.)
make[3]: *** [drivers/isdn/i4l/isdn_tty.o] Error 1
make[2]: *** [drivers/isdn/i4l] Error 2
make[1]: *** [drivers/isdn] Error 2
make: *** [drivers] Error 2


patch applied.

	Thomas

[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 498 bytes --]

===== drivers/isdn/i4l/isdn_tty.c 1.60 vs edited =====
--- 1.60/drivers/isdn/i4l/isdn_tty.c	2004-09-29 17:02:20 +02:00
+++ edited/drivers/isdn/i4l/isdn_tty.c	2004-09-30 11:49:48 +02:00
@@ -2673,7 +2673,7 @@
 		if ((info->flags & ISDN_ASYNC_CLOSING) || (!info->tty)) {
 			return;
 		}
-		tty_ldisc_flush(tty);
+		tty_ldisc_flush(info->tty);
 		if ((info->flags & ISDN_ASYNC_CHECK_CD) &&
 		    (!((info->flags & ISDN_ASYNC_CALLOUT_ACTIVE) &&
 		       (info->flags & ISDN_ASYNC_CALLOUT_NOHUP)))) {

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] drivers/isdn/i4l/isdn_tty.c in BK HEAD doesn't compile
  2004-09-30  9:55 [PATCH] drivers/isdn/i4l/isdn_tty.c in BK HEAD doesn't compile Thomas Glanzmann
@ 2004-09-30 11:31 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2004-09-30 11:31 UTC (permalink / raw)
  To: Thomas Glanzmann; +Cc: LKML

Hi Thomas,

> (excalibur) [/scratch/src/excalibur] make
>   CHK     include/linux/version.h
> make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
>   CHK     include/linux/compile.h
>   CC      drivers/isdn/i4l/isdn_tty.o
> drivers/isdn/i4l/isdn_tty.c: In function `isdn_tty_modem_result':
> drivers/isdn/i4l/isdn_tty.c:2676: error: `tty' undeclared (first use in this function)
> drivers/isdn/i4l/isdn_tty.c:2676: error: (Each undeclared identifier is reported only once
> drivers/isdn/i4l/isdn_tty.c:2676: error: for each function it appears in.)
> make[3]: *** [drivers/isdn/i4l/isdn_tty.o] Error 1
> make[2]: *** [drivers/isdn/i4l] Error 2
> make[1]: *** [drivers/isdn] Error 2
> make: *** [drivers] Error 2
> 
> 
> patch applied.

I already sent a patch for it some hours ago, because there a similar
problem for the CAPI.

Regards

Marcel



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-30 11:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-30  9:55 [PATCH] drivers/isdn/i4l/isdn_tty.c in BK HEAD doesn't compile Thomas Glanzmann
2004-09-30 11:31 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®