linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* linux-next: ttydev tree build failure
@ 2008-10-23  6:29 Stephen Rothwell
  2008-10-23  7:34 ` Alan Cox
  2008-10-23 10:28 ` Hendrik Brueckner
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen Rothwell @ 2008-10-23  6:29 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-next, Hendrik Brueckner, ppc-dev

Hi Alan,

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

drivers/char/hvc_console.c: In function 'hvc_set_winsz':
drivers/char/hvc_console.c:532: warning: passing argument 2 of 'tty_do_resize' from incompatible pointer type
drivers/char/hvc_console.c:532: error: too many arguments to function 'tty_do_resize'

Caused by commit eb6ab2d361a49470ca9785c70482772c19e49bec
("pty-simplify-resize") from the ttydev tree interacting with commit
febde3711992a64ea83a47a719f68a90c4b0927a ("hvc_console: Add support for
tty window resizing").

The former added another call to the function that the latter changed.

I applied the following patch.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 23 Oct 2008 17:26:51 +1100
Subject: [PATCH] hvc_console: fallout from tty_do_resize change

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/char/hvc_console.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/hvc_console.c b/drivers/char/hvc_console.c
index 5b819b1..65f88ef 100644
--- a/drivers/char/hvc_console.c
+++ b/drivers/char/hvc_console.c
@@ -529,7 +529,7 @@ static void hvc_set_winsz(struct work_struct *work)
 	tty = tty_kref_get(hp->tty);
 	spin_unlock_irqrestore(&hp->lock, hvc_flags);
 
-	tty_do_resize(tty, tty, &ws);
+	tty_do_resize(tty, &ws);
 	tty_kref_put(tty);
 }
 
-- 
1.5.6.5

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

* Re: linux-next: ttydev tree build failure
  2008-10-23  6:29 linux-next: ttydev tree build failure Stephen Rothwell
@ 2008-10-23  7:34 ` Alan Cox
  2008-10-23  7:35   ` Benjamin Herrenschmidt
  2008-10-24  4:58   ` Stephen Rothwell
  2008-10-23 10:28 ` Hendrik Brueckner
  1 sibling, 2 replies; 5+ messages in thread
From: Alan Cox @ 2008-10-23  7:34 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, Hendrik Brueckner, ppc-dev

On Thu, 23 Oct 2008 17:29:38 +1100
Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> Hi Alan,
> 
> Today's linux-next build (powerpc ppc64_defconfig) failed like this:
> 
> drivers/char/hvc_console.c: In function 'hvc_set_winsz':
> drivers/char/hvc_console.c:532: warning: passing argument 2 of 'tty_do_resize' from incompatible pointer type
> drivers/char/hvc_console.c:532: error: too many arguments to function 'tty_do_resize'
> 
> Caused by commit eb6ab2d361a49470ca9785c70482772c19e49bec
> ("pty-simplify-resize") from the ttydev tree interacting with commit
> febde3711992a64ea83a47a719f68a90c4b0927a ("hvc_console: Add support for
> tty window resizing").
> 
> The former added another call to the function that the latter changed.
> 
> I applied the following patch

Patch is correct.

Do the hvc patches have dependancies on the PPC tree as well as the tty
tree ?

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

* Re: linux-next: ttydev tree build failure
  2008-10-23  7:34 ` Alan Cox
@ 2008-10-23  7:35   ` Benjamin Herrenschmidt
  2008-10-24  4:58   ` Stephen Rothwell
  1 sibling, 0 replies; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2008-10-23  7:35 UTC (permalink / raw)
  To: Alan Cox; +Cc: Stephen Rothwell, linux-next, Hendrik Brueckner, ppc-dev

On Thu, 2008-10-23 at 08:34 +0100, Alan Cox wrote:
> 
> Patch is correct.
> 
> Do the hvc patches have dependancies on the PPC tree as well as the
> tty tree ?

Note that I have a serie of 5 hvc patches in the ppc tree...

Ben.

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

* Re: linux-next: ttydev tree build failure
  2008-10-23  6:29 linux-next: ttydev tree build failure Stephen Rothwell
  2008-10-23  7:34 ` Alan Cox
@ 2008-10-23 10:28 ` Hendrik Brueckner
  1 sibling, 0 replies; 5+ messages in thread
From: Hendrik Brueckner @ 2008-10-23 10:28 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, Hendrik Brueckner, Alan Cox, ppc-dev

On Thu, Oct 23, 2008 at 05:29:38PM +1100, Stephen Rothwell wrote:
> drivers/char/hvc_console.c: In function 'hvc_set_winsz':
> drivers/char/hvc_console.c:532: warning: passing argument 2 of 'tty_do_resize' from incompatible pointer type
> drivers/char/hvc_console.c:532: error: too many arguments to function 'tty_do_resize'
> 
> Caused by commit eb6ab2d361a49470ca9785c70482772c19e49bec
> ("pty-simplify-resize") from the ttydev tree interacting with commit
> febde3711992a64ea83a47a719f68a90c4b0927a ("hvc_console: Add support for
> tty window resizing").
> 
> The former added another call to the function that the latter changed.
In linux-next, the pty-simplify-resize patch has changed the
tty_do_resize() signature; and therefore the hvc patch did not compile.

> I applied the following patch.
The patch is correct.
Thanks.

Acked-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>

-- 
Regards
Hendrik

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschaeftsfuehrung: Erich Baier
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

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

* Re: linux-next: ttydev tree build failure
  2008-10-23  7:34 ` Alan Cox
  2008-10-23  7:35   ` Benjamin Herrenschmidt
@ 2008-10-24  4:58   ` Stephen Rothwell
  1 sibling, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2008-10-24  4:58 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-next, Hendrik Brueckner, ppc-dev

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

Hi Alan, Hendrik,

On Thu, 23 Oct 2008 08:34:06 +0100 Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
>
> On Thu, 23 Oct 2008 17:29:38 +1100
> Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 
> > Hi Alan,
> > 
> > Today's linux-next build (powerpc ppc64_defconfig) failed like this:
> > 
> > drivers/char/hvc_console.c: In function 'hvc_set_winsz':
> > drivers/char/hvc_console.c:532: warning: passing argument 2 of 'tty_do_resize' from incompatible pointer type
> > drivers/char/hvc_console.c:532: error: too many arguments to function 'tty_do_resize'
> > 
> > Caused by commit eb6ab2d361a49470ca9785c70482772c19e49bec
> > ("pty-simplify-resize") from the ttydev tree interacting with commit
> > febde3711992a64ea83a47a719f68a90c4b0927a ("hvc_console: Add support for
> > tty window resizing").
> > 
> > The former added another call to the function that the latter changed.
> > 
> > I applied the following patch
> 
> Patch is correct.
> 
> Do the hvc patches have dependancies on the PPC tree as well as the tty
> tree ?

The powerpc patches including these hvc_console patches have now gone
upstream to Linus' tree ...

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

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

end of thread, other threads:[~2008-10-24  4:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-23  6:29 linux-next: ttydev tree build failure Stephen Rothwell
2008-10-23  7:34 ` Alan Cox
2008-10-23  7:35   ` Benjamin Herrenschmidt
2008-10-24  4:58   ` Stephen Rothwell
2008-10-23 10:28 ` Hendrik Brueckner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).