[tty:tty-next 29/36] drivers/staging/sb105x/sb_pci_mp.c:901:19: error: 'struct tty_struct' has no member named 'low_latency'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-next
head:   4e18585d51434c28269e625e56a06396d70d0ff2
commit: d6c53c0e9bd0a83f9f9ddbc9fd80141a54d83896 [29/36] TTY: move low_latency to tty_port
config: make ARCH=x86_64 allmodconfig

All error/warnings:

   drivers/staging/sb105x/sb_pci_mp.c: In function 'mp_set_info':
>> drivers/staging/sb105x/sb_pci_mp.c:901:19: error: 'struct tty_struct' has no member named 'low_latency'
   drivers/staging/sb105x/sb_pci_mp.c: In function 'mp_open':
   drivers/staging/sb105x/sb_pci_mp.c:1574:5: error: 'struct tty_struct' has no member named 'low_latency'
   drivers/staging/sb105x/sb_pci_mp.c: In function 'receive_chars':
   drivers/staging/sb105x/sb_pci_mp.c:2118:4: warning: passing argument 1 of 'tty_insert_flip_char' from incompatible pointer type [enabled by default]
   In file included from drivers/staging/sb105x/sb_pci_mp.h:4:0,
                    from drivers/staging/sb105x/sb_pci_mp.c:1:
   include/linux/tty_flip.h:15:19: note: expected 'struct tty_port *' but argument is of type 'struct tty_struct *'
   drivers/staging/sb105x/sb_pci_mp.c:2123:4: warning: passing argument 1 of 'tty_insert_flip_char' from incompatible pointer type [enabled by default]
   In file included from drivers/staging/sb105x/sb_pci_mp.h:4:0,
                    from drivers/staging/sb105x/sb_pci_mp.c:1:
   include/linux/tty_flip.h:15:19: note: expected 'struct tty_port *' but argument is of type 'struct tty_struct *'

vim +901 drivers/staging/sb105x/sb_pci_mp.c

   895			(new_flags & UPF_CHANGE_MASK);
   896		port->custom_divisor   = new_serial.custom_divisor;
   897		state->close_delay     = new_serial.close_delay;
   898		state->closing_wait    = closing_wait;
   899		port->fifosize         = new_serial.xmit_fifo_size;
   900		if (state->info->tty)
 > 901			state->info->tty->low_latency =
   902				(port->flags & UPF_LOW_LATENCY) ? 1 : 0;
   903	
   904	check_and_exit:

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux