public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1 #2] Char: n_tty, include module.h
@ 2008-12-03 15:21 Jiri Slaby
  2008-12-03 15:35 ` Alan Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Jiri Slaby @ 2008-12-03 15:21 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, Jiri Slaby, Alan Cox, Rodolfo Giometti

Hi,

this is a ldisc-n_tty-export-all-n_tty-ldisc-methods.patch fix.

--

Since we are using EXPORT_SYMBOL, we should include linux/module.h

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Rodolfo Giometti <giometti@linux.it>
---
 drivers/char/n_tty.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/char/n_tty.c b/drivers/char/n_tty.c
index b441c09..8e6c591 100644
--- a/drivers/char/n_tty.c
+++ b/drivers/char/n_tty.c
@@ -41,6 +41,7 @@
 #include <linux/timer.h>
 #include <linux/ctype.h>
 #include <linux/mm.h>
+#include <linux/module.h>
 #include <linux/string.h>
 #include <linux/slab.h>
 #include <linux/poll.h>
-- 
1.6.0.4


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

* Re: [PATCH 1/1 #2] Char: n_tty, include module.h
  2008-12-03 15:21 [PATCH 1/1 #2] Char: n_tty, include module.h Jiri Slaby
@ 2008-12-03 15:35 ` Alan Cox
  2008-12-03 20:06   ` Andrew Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Cox @ 2008-12-03 15:35 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: akpm, linux-kernel, Jiri Slaby, Rodolfo Giometti

On Wed,  3 Dec 2008 16:21:51 +0100
Jiri Slaby <jirislaby@gmail.com> wrote:

> Hi,
> 
> this is a ldisc-n_tty-export-all-n_tty-ldisc-methods.patch fix.

NAK and NAK the patch needing it.

Once PPS is in this can be revisted by adding the almost identical N_PPS
ldisc into n_tty with a couple of different handlers (notably some of the
termios flags need to be handled differently)

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

* Re: [PATCH 1/1 #2] Char: n_tty, include module.h
  2008-12-03 15:35 ` Alan Cox
@ 2008-12-03 20:06   ` Andrew Morton
  2008-12-03 21:10     ` Alan Cox
  2008-12-04  8:40     ` Rodolfo Giometti
  0 siblings, 2 replies; 5+ messages in thread
From: Andrew Morton @ 2008-12-03 20:06 UTC (permalink / raw)
  To: Alan Cox; +Cc: jirislaby, linux-kernel, giometti

On Wed, 3 Dec 2008 15:35:37 +0000
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:

> On Wed,  3 Dec 2008 16:21:51 +0100
> Jiri Slaby <jirislaby@gmail.com> wrote:
> 
> > Hi,
> > 
> > this is a ldisc-n_tty-export-all-n_tty-ldisc-methods.patch fix.
> 
> NAK and NAK the patch needing it.

Late :(

> Once PPS is in

PPS can't go in without this?

Perhaps I can drop pps-serial-clients-support.patch, dunno.

> this can be revisted by adding the almost identical N_PPS
> ldisc into n_tty with a couple of different handlers (notably some of the
> termios flags need to be handled differently)

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

* Re: [PATCH 1/1 #2] Char: n_tty, include module.h
  2008-12-03 20:06   ` Andrew Morton
@ 2008-12-03 21:10     ` Alan Cox
  2008-12-04  8:40     ` Rodolfo Giometti
  1 sibling, 0 replies; 5+ messages in thread
From: Alan Cox @ 2008-12-03 21:10 UTC (permalink / raw)
  To: Andrew Morton; +Cc: jirislaby, linux-kernel, giometti

> > NAK and NAK the patch needing it.
> 
> Late :(
> 
> > Once PPS is in
> 
> PPS can't go in without this?

PPS stands alone without the tty parts. Once the core PPS bits are
accepted (Ingo seems to be silent on that ?) I'll redo the N_PPS tty
bits.

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

* Re: [PATCH 1/1 #2] Char: n_tty, include module.h
  2008-12-03 20:06   ` Andrew Morton
  2008-12-03 21:10     ` Alan Cox
@ 2008-12-04  8:40     ` Rodolfo Giometti
  1 sibling, 0 replies; 5+ messages in thread
From: Rodolfo Giometti @ 2008-12-04  8:40 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Alan Cox, jirislaby, linux-kernel

On Wed, Dec 03, 2008 at 12:06:43PM -0800, Andrew Morton wrote:
> On Wed, 3 Dec 2008 15:35:37 +0000
> Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> 
> > On Wed,  3 Dec 2008 16:21:51 +0100
> > Jiri Slaby <jirislaby@gmail.com> wrote:
> > 
> > > Hi,
> > > 
> > > this is a ldisc-n_tty-export-all-n_tty-ldisc-methods.patch fix.
> > 
> > NAK and NAK the patch needing it.
> 
> Late :(
> 
> > Once PPS is in
> 
> PPS can't go in without this?

No, PPS works perfectly without that patch.

> Perhaps I can drop pps-serial-clients-support.patch, dunno.

I think you can drop the last fix.

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail: giometti@enneenne.com
Linux Device Driver                          giometti@linux.it
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti

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

end of thread, other threads:[~2008-12-04  8:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-03 15:21 [PATCH 1/1 #2] Char: n_tty, include module.h Jiri Slaby
2008-12-03 15:35 ` Alan Cox
2008-12-03 20:06   ` Andrew Morton
2008-12-03 21:10     ` Alan Cox
2008-12-04  8:40     ` Rodolfo Giometti

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