linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the final tree (tty tree related)
@ 2011-08-25  6:18 Stephen Rothwell
  2011-08-25 14:08 ` Greg KH
  0 siblings, 1 reply; 37+ messages in thread
From: Stephen Rothwell @ 2011-08-25  6:18 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, Timur Tabi, ppc-dev

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

Hi all,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/tty/ehv_bytechan.c: In function 'udbg_init_ehv_bc':
drivers/tty/ehv_bytechan.c:230:18: error: 'MSR_GS' undeclared (first use in this function)
drivers/tty/ehv_bytechan.c: In function 'ehv_bc_console_write':
drivers/tty/ehv_bytechan.c:289:24: warning: cast from pointer to integer of different size
drivers/tty/ehv_bytechan.c: In function 'ehv_bc_console_init':
drivers/tty/ehv_bytechan.c:355:24: warning: cast to pointer from integer of different size

Caused by commit dcd83aaff1c8 ("tty/powerpc: introduce the ePAPR embedded
hypervisor byte channel driver").

MSR_GS is defined in arch/powerpc/include/asm/reg_booke.h which is
included by arch/powerpc/include/asm/reg.h but only when defined
(CONFIG_BOOKE) || defined(CONFIG_40x).

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply	[flat|nested] 37+ messages in thread
* linux-next: build failure after merge of the final tree (tty tree related)
@ 2013-10-28 14:33 Stephen Rothwell
  2013-10-28 14:49 ` Michal Simek
  2013-10-28 16:05 ` Sören Brinkmann
  0 siblings, 2 replies; 37+ messages in thread
From: Stephen Rothwell @ 2013-10-28 14:33 UTC (permalink / raw)
  Cc: linux-next, linux-kernel, Soren Brinkmann, Lars-Peter Clausen,
	Suneel Garapati, Vlad Lungu, Greg KH

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

Hi all,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/tty/serial/xilinx_uartps.c: In function 'xuartps_clk_notifier_cb':
drivers/tty/serial/xilinx_uartps.c:436:7: error: 'PRE_RATE_CHANGE' undeclared (first use in this function)
  case PRE_RATE_CHANGE:
       ^
drivers/tty/serial/xilinx_uartps.c:436:7: note: each undeclared identifier is reported only once for each function it appears in
drivers/tty/serial/xilinx_uartps.c:446:36: error: dereferencing pointer to incomplete type
   if (!xuartps_calc_baud_divs(ndata->new_rate, xuartps->baud,
                                    ^
drivers/tty/serial/xilinx_uartps.c:461:7: error: 'POST_RATE_CHANGE' undeclared (first use in this function)
  case POST_RATE_CHANGE:
       ^
drivers/tty/serial/xilinx_uartps.c:470:24: error: dereferencing pointer to incomplete type
   port->uartclk = ndata->new_rate;
                        ^
drivers/tty/serial/xilinx_uartps.c:475:7: error: 'ABORT_RATE_CHANGE' undeclared (first use in this function)
  case ABORT_RATE_CHANGE:
       ^
drivers/tty/serial/xilinx_uartps.c: In function 'xuartps_probe':
drivers/tty/serial/xilinx_uartps.c:1385:2: error: implicit declaration of function 'clk_notifier_register' [-Werror=implicit-function-declaration]
  if (clk_notifier_register(xuartps_data->refclk,
  ^
drivers/tty/serial/xilinx_uartps.c:1418:2: error: implicit declaration of function 'clk_notifier_unregister' [-Werror=implicit-function-declaration]
  clk_notifier_unregister(xuartps_data->refclk,
  ^

Caused by commits in the tty tree.

I have left this broken for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply	[flat|nested] 37+ messages in thread
* linux-next: build failure after merge of the final tree (tty tree related)
@ 2013-09-27  8:21 Stephen Rothwell
  2013-09-28  1:04 ` Greg KH
  0 siblings, 1 reply; 37+ messages in thread
From: Stephen Rothwell @ 2013-09-27  8:21 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, Heikki Krogerus

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

Hi all,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/tty/serial/8250/8250_dw.c: In function 'dw8250_probe':
drivers/tty/serial/8250/8250_dw.c:341:3: error: too many arguments to function 'dw8250_probe_acpi'
   err = dw8250_probe_acpi(&uart, data);
   ^
drivers/tty/serial/8250/8250_dw.c:281:19: note: declared here
 static inline int dw8250_probe_acpi(struct uart_8250_port *up)
                   ^

Caused by commit fe95855539fd ("serial: 8250_dw: don't limit DMA support
to ACPI") from the tty tree.

I have reverted that commit for today (and commit 7fb8c56c7fa0 ("serial:
8250_dw: provide a filter for DMA channel detection") that depends on it).
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply	[flat|nested] 37+ messages in thread
* linux-next: build failure after merge of the final tree (tty tree related)
@ 2013-04-02  7:57 Stephen Rothwell
  0 siblings, 0 replies; 37+ messages in thread
From: Stephen Rothwell @ 2013-04-02  7:57 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, Chanho Min

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

Hi all,

After merging the final tree, today's linux-next build (arm defconfig)
failed like this:

drivers/tty/serial/amba-pl011.c: In function 'pl011_rx_chars':
drivers/tty/serial/amba-pl011.c:1199:11: error: 'struct uart_amba_port' has no member named 'dmarx'
drivers/tty/serial/amba-pl011.c:1200:8: error: 'struct uart_amba_port' has no member named 'dmarx'
drivers/tty/serial/amba-pl011.c:1201:8: error: 'struct uart_amba_port' has no member named 'dmarx'
drivers/tty/serial/amba-pl011.c:1201:31: error: 'PL011_DMA_BUFFER_SIZE' undeclared (first use in this function)
drivers/tty/serial/amba-pl011.c:1201:31: note: each undeclared identifier is reported only once for each function it appears in
drivers/tty/serial/amba-pl011.c:1202:19: error: 'struct uart_amba_port' has no member named 'dmarx'
drivers/tty/serial/amba-pl011.c:1204:26: error: 'struct uart_amba_port' has no member named 'dmarx'
drivers/tty/serial/amba-pl011.c: In function 'pl011_set_termios':
drivers/tty/serial/amba-pl011.c:1671:9: error: 'struct uart_amba_port' has no member named 'dmarx'
drivers/tty/serial/amba-pl011.c:1672:6: error: 'struct uart_amba_port' has no member named 'dmarx'

Caused by commit cb06ff102e2d ("ARM: PL011: Add support for Rx DMA buffer
polling").  This build does not have CONFIG_DMA_ENGINE set.

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply	[flat|nested] 37+ messages in thread
* linux-next: build failure after merge of the final tree (tty tree related)
@ 2012-11-26 13:49 Stephen Rothwell
  2012-11-26 14:35 ` Steven Rostedt
  0 siblings, 1 reply; 37+ messages in thread
From: Stephen Rothwell @ 2012-11-26 13:49 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, Steven Rostedt

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

Hi all,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

In file included from drivers/staging/sb105x/sb_pci_mp.c:1:0:
drivers/staging/sb105x/sb_pci_mp.h:22:25: fatal error: asm/segment.h: No such file or directory

Caused by commit 68a81291ff66 ("staging: Add SystemBase Multi-2/PCI
driver").

I have disabled this driver with this patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 27 Nov 2012 00:45:07 +1100
Subject: [PATCH] disable the SB105X driver

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/staging/sb105x/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/sb105x/Kconfig b/drivers/staging/sb105x/Kconfig
index ac87c5e..c957e32 100644
--- a/drivers/staging/sb105x/Kconfig
+++ b/drivers/staging/sb105x/Kconfig
@@ -2,6 +2,7 @@ config SB105X
 	tristate "SystemBase PCI Multiport UART"
 	select SERIAL_CORE
 	depends on PCI
+	depends on BROKEN
 	help
 	  A driver for the SystemBase Multi-2/PCI serial card
 
-- 
1.7.10.280.gaa39

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply related	[flat|nested] 37+ messages in thread
* linux-next: build failure after merge of the final tree (tty tree related)
@ 2012-09-24 14:36 Stephen Rothwell
  2012-09-25 22:41 ` Greg KH
  0 siblings, 1 reply; 37+ messages in thread
From: Stephen Rothwell @ 2012-09-24 14:36 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, Jaeden Amero, Alan Cox

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

Hi all,

After merging the final tree, today's linux-next build (sparc64 defconfig)
failed like this:

fs/compat_ioctl.c:868:1: error: 'TIOCSRS485' undeclared here (not in a function)
fs/compat_ioctl.c:869:1: error: 'TIOCGRS485' undeclared here (not in a function)

Caused by commit 84c3b8486044 ("compat_ioctl: Add RS-485 IOCTLs to the
list") from the tty tree.

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply	[flat|nested] 37+ messages in thread
* linux-next: build failure after merge of the final tree (tty tree related)
@ 2012-07-20  5:02 Stephen Rothwell
  2012-07-25 22:47 ` Greg KH
  2012-07-25 22:52 ` Stephen Rothwell
  0 siblings, 2 replies; 37+ messages in thread
From: Stephen Rothwell @ 2012-07-20  5:02 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, Alan Cox

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

Hi all,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/usb/serial/console.c: In function 'usb_console_setup':
drivers/usb/serial/console.c:168:16: error: invalid type argument of '->' (have 'struct ktermios')
drivers/usb/serial/console.c:169:4: error: incompatible type for argument 1 of 'tty_termios_encode_baud_rate'
include/linux/tty.h:449:13: note: expected 'struct ktermios *' but argument is of type 'struct ktermios'

Caused by commit adc8d746caa6 ("tty: move the termios object into the
tty").  Hopefully this is the last of them.

I have added the following fix patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 20 Jul 2012 14:58:31 +1000
Subject: [PATCH] tty: fix up usb serial console for termios change.

fixes these errors:

drivers/usb/serial/console.c: In function 'usb_console_setup':
drivers/usb/serial/console.c:168:16: error: invalid type argument of '->' (have 'struct ktermios')
drivers/usb/serial/console.c:169:4: error: incompatible type for argument 1 of 'tty_termios_encode_baud_rate'
include/linux/tty.h:449:13: note: expected 'struct ktermios *' but argument is of type 'struct ktermios'

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/usb/serial/console.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/serial/console.c b/drivers/usb/serial/console.c
index b9cca6d..9a56428 100644
--- a/drivers/usb/serial/console.c
+++ b/drivers/usb/serial/console.c
@@ -165,8 +165,8 @@ static int usb_console_setup(struct console *co, char *options)
 		}
 
 		if (serial->type->set_termios) {
-			tty->termios->c_cflag = cflag;
-			tty_termios_encode_baud_rate(tty->termios, baud, baud);
+			tty->termios.c_cflag = cflag;
+			tty_termios_encode_baud_rate(&tty->termios, baud, baud);
 			memset(&dummy, 0, sizeof(struct ktermios));
 			serial->type->set_termios(tty, port, &dummy);
 
-- 
1.7.10.280.gaa39

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply related	[flat|nested] 37+ messages in thread
* linux-next: build failure after merge of the final tree (tty tree related)
@ 2010-12-17  6:11 Stephen Rothwell
  2010-12-17  7:04 ` Greg KH
  0 siblings, 1 reply; 37+ messages in thread
From: Stephen Rothwell @ 2010-12-17  6:11 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, Thomas Gleixner

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

Hi Greg,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/serial/apbuart.c:596: error: conflicting types for 'grlib_apbuart_configure'
drivers/serial/apbuart.c:523: note: previous declaration of 'grlib_apbuart_configure' was here

Caused by commit 35c64e5d13c3d7d8c4ad061ad5e20498b9160c24 ("drivers:
serial: apbuart: Handle OF failures gracefully").  This build has
CONFIG_SERIAL_GRLIB_GAISLER_APBUART_CONSOLE set ...

I have reverted this commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

^ permalink raw reply	[flat|nested] 37+ messages in thread
* linux-next: build failure after merge of the final tree (tty tree related)
@ 2010-11-12  1:57 Stephen Rothwell
  2010-11-12 10:44 ` Alan Cox
  0 siblings, 1 reply; 37+ messages in thread
From: Stephen Rothwell @ 2010-11-12  1:57 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, Russ Gorby, Alan Cox

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

Hi Greg,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/serial/ifx6x60.c: In function 'ifx_spi_reset':
drivers/serial/ifx6x60.c:928: error: implicit declaration of function 'msleep'

Caused by commit af3b8881f4c9852eefe9c7f1a997b3ecf580561b ("ifx6x60: SPI
protocol driver for Infineon 6x60 modem").  An include is missing
(linux/delay.h).  See Rule 1 in Documentation/SubmitChecklist.

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

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

end of thread, other threads:[~2013-10-29  7:04 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-25  6:18 linux-next: build failure after merge of the final tree (tty tree related) Stephen Rothwell
2011-08-25 14:08 ` Greg KH
2011-08-25 14:28   ` Timur Tabi
2011-08-25 15:22   ` Timur Tabi
2011-08-25 15:51     ` Stephen Rothwell
2011-08-25 16:09       ` Arnaud Lacombe
2011-08-26  0:39         ` Stephen Rothwell
2011-08-26 15:47           ` Arnaud Lacombe
2011-09-11  4:23             ` Stephen Rothwell
2011-09-11  9:05               ` Geert Uytterhoeven
  -- strict thread matches above, loose matches on Subject: below --
2013-10-28 14:33 Stephen Rothwell
2013-10-28 14:49 ` Michal Simek
2013-10-28 16:05 ` Sören Brinkmann
2013-10-28 16:33   ` Greg KH
2013-10-29  7:04     ` Stephen Rothwell
2013-09-27  8:21 Stephen Rothwell
2013-09-28  1:04 ` Greg KH
2013-04-02  7:57 Stephen Rothwell
2012-11-26 13:49 Stephen Rothwell
2012-11-26 14:35 ` Steven Rostedt
2012-11-26 23:05   ` Stephen Rothwell
2012-12-13 23:32     ` Stephen Rothwell
2012-12-13 23:38       ` Greg KH
2012-12-14  0:11         ` Steven Rostedt
2012-09-24 14:36 Stephen Rothwell
2012-09-25 22:41 ` Greg KH
2012-07-20  5:02 Stephen Rothwell
2012-07-25 22:47 ` Greg KH
2012-07-26  0:23   ` Alan Cox
2012-07-25 22:52 ` Stephen Rothwell
2010-12-17  6:11 Stephen Rothwell
2010-12-17  7:04 ` Greg KH
2010-12-17 10:16   ` Thomas Gleixner
2011-01-06  3:27     ` Stephen Rothwell
2011-01-06 18:45       ` Greg KH
2010-11-12  1:57 Stephen Rothwell
2010-11-12 10:44 ` Alan Cox

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).