* 'struct uart_port' has no member named 'info
@ 2010-03-10 10:34 rogerx
2010-03-11 3:10 ` Xiaotian Feng
0 siblings, 1 reply; 4+ messages in thread
From: rogerx @ 2010-03-10 10:34 UTC (permalink / raw)
To: linux-kernel
Upgraded from kernel-2.6.32 to kernel-2.6.33, and now get the following
error when compiling ltmodem.
I checked for changes within drivers/serial/serial_core.c, but couldn't
find the specific change. (I did verify ltmodem compiles fine without
error under 2.6.32.)
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c: In
function 'receive_chars':
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:181:
error: 'struct uart_port' has no member named 'info'
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c: In
function 'transmit_chars':
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:243:
error: 'struct uart_port' has no member named 'info'
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c: In
function 'check_modem_status':
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:284:
error: 'struct uart_port' has no member named 'info'
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:294:
error: 'struct uart_port' has no member named 'info'
make[2]: ***
[/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.o]
Error 1
--
Roger
http://rogerx.freeshell.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* 'struct uart_port' has no member named 'info
@ 2010-03-10 11:33 rogerx
2010-03-11 0:49 ` rogerx
0 siblings, 1 reply; 4+ messages in thread
From: rogerx @ 2010-03-10 11:33 UTC (permalink / raw)
To: linux-serial
Upgraded from kernel-2.6.32 to kernel-2.6.33, and now get the following
error when compiling ltmodem.
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c: In
function 'receive_chars':
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:181:
error: 'struct uart_port' has no member named 'info'
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c: In
function 'transmit_chars':
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:243:
error: 'struct uart_port' has no member named 'info'
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c: In
function 'check_modem_status':
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:284:
error: 'struct uart_port' has no member named 'info'
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:294:
error: 'struct uart_port' has no member named 'info'
make[2]: ***
[/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.o]
Error 1
I checked for changes within drivers/serial/serial_core.c, but couldn't
find the specific change. (I did verify ltmodem compiles fine without
error under 2.6.32.)
--
Roger
http://rogerx.freeshell.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 'struct uart_port' has no member named 'info
2010-03-10 11:33 'struct uart_port' has no member named 'info rogerx
@ 2010-03-11 0:49 ` rogerx
0 siblings, 0 replies; 4+ messages in thread
From: rogerx @ 2010-03-11 0:49 UTC (permalink / raw)
To: linux-serial
On Wed, Mar 10, 2010 at 02:33:47AM -0900, rogerx@sdf.org wrote:
>Upgraded from kernel-2.6.32 to kernel-2.6.33, and now get the following
>error when compiling ltmodem.
>
>/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c: In
>function 'receive_chars':
>/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:181:
>error: 'struct uart_port' has no member named 'info'
Sorry. These changes were already found and patched for kernel-2.6.32!
I just happened to spend the last 12 hours finding all the new variable
names and writing a new patch -- while the patch was already written.
:-/
For reference for those doing a Google search:
- struct tty_struct *tty = up->port.info->port.tty;
+ struct tty_struct *tty = up->port.state->port.tty
- struct circ_buf *xmit = &up->port.info->xmit;
+ struct circ_buf *xmit = &up->port.state->xmit;
- wake_up_interruptible(&up->port.info->delta_msr_wait);
+ wake_up_interruptible(&up->port.state->port.delta_msr_wait)
--
Roger
http://rogerx.freeshell.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 'struct uart_port' has no member named 'info
2010-03-10 10:34 rogerx
@ 2010-03-11 3:10 ` Xiaotian Feng
0 siblings, 0 replies; 4+ messages in thread
From: Xiaotian Feng @ 2010-03-11 3:10 UTC (permalink / raw)
To: rogerx; +Cc: linux-kernel
On Wed, Mar 10, 2010 at 6:34 PM, <rogerx@sdf.org> wrote:
> Upgraded from kernel-2.6.32 to kernel-2.6.33, and now get the following
> error when compiling ltmodem.
>
> I checked for changes within drivers/serial/serial_core.c, but couldn't
> find the specific change. (I did verify ltmodem compiles fine without
> error under 2.6.32.)
>
uart_port->info has been removed by commit
ebd2c8f6d2ec4012c267ecb95e72a57b8355a705
I think s/info/state can solve your build issue.
>
> /var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c: In
> function 'receive_chars':
> /var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:181:
> error: 'struct uart_port' has no member named 'info'
> /var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c: In
> function 'transmit_chars':
> /var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:243:
> error: 'struct uart_port' has no member named 'info'
> /var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c: In
> function 'check_modem_status':
> /var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:284:
> error: 'struct uart_port' has no member named 'info'
> /var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:294:
> error: 'struct uart_port' has no member named 'info'
> make[2]: ***
> [/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.o]
> Error 1
>
>
> --
> Roger
> http://rogerx.freeshell.org/
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-03-11 3:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-10 11:33 'struct uart_port' has no member named 'info rogerx
2010-03-11 0:49 ` rogerx
-- strict thread matches above, loose matches on Subject: below --
2010-03-10 10:34 rogerx
2010-03-11 3:10 ` Xiaotian Feng
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.