22 May, 2010

1 commit


19 Mar, 2010

1 commit

  • CC drivers/char/tty_buffer.o
    drivers/char/tty_buffer.c: In function ‘tty_insert_flip_string_fixed_flag’:
    drivers/char/tty_buffer.c:251: warning: comparison of distinct pointer types lacks a cast
    drivers/char/tty_buffer.c: In function ‘tty_insert_flip_string_flags’:
    drivers/char/tty_buffer.c:288: warning: comparison of distinct pointer types lacks a cast

    Fix it by replacing min() with min_t() in tty_insert_flip_string_flags and
    tty_insert_flip_string_fixed_flag().

    Signed-off-by: Fang Wenqi
    Signed-off-by: Greg Kroah-Hartman

    Fang Wenqi
     

04 Mar, 2010

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (220 commits)
    USB: backlight, appledisplay: fix incomplete registration failure handling
    USB: pl2303: remove unnecessary reset of usb_device in urbs
    USB: ftdi_sio: remove obsolete check in unthrottle
    USB: ftdi_sio: remove unused tx_bytes counter
    USB: qcaux: driver for auxiliary serial ports on Qualcomm devices
    USB: pl2303: initial TIOCGSERIAL support
    USB: option: add Longcheer/Longsung vendor ID
    USB: fix I2C API usage in ohci-pnx4008.
    USB: usbmon: mask seconds properly in text API
    USB: sisusbvga: no unnecessary GFP_ATOMIC
    USB: storage: onetouch: unnecessary GFP_ATOMIC
    USB: serial: ftdi: add CONTEC vendor and product id
    USB: remove references to port->port.count from the serial drivers
    USB: tty: Prune uses of tty_request_room in the USB layer
    USB: tty: Add a function to insert a string of characters with the same flag
    USB: don't read past config->interface[] if usb_control_msg() fails in usb_reset_configuration()
    USB: tty: kill request_room for USB ACM class
    USB: tty: sort out the request_room handling for whiteheat
    USB: storage: fix misplaced parenthesis
    USB: vstusb.c: removal of driver for Vernier Software & Technology, Inc., devices and spectrometers
    ...

    Linus Torvalds
     

03 Mar, 2010

2 commits


15 Oct, 2009

1 commit


14 Oct, 2009

1 commit


30 Jul, 2009

1 commit

  • We really don't want to mark the pty as a low-latency device, because as
    Alan points out, the ->write method can be called from an IRQ (ppp?),
    and that means we can't use ->low_latency=1 as we take mutexes in the
    low_latency case.

    So rather than using low_latency to force the written data to be pushed
    to the ldisc handling at 'write()' time, just make the reader side (or
    the poll function) do the flush when it checks whether there is data to
    be had.

    This also fixes the problem with lost data in an emacs compile buffer
    (bugzilla 13815), and we can thus revert the low_latency pty hack
    (commit 3a54297478e6578f96fd54bf4daa1751130aca86: "pty: quickfix for the
    pty ENXIO timing problems").

    Signed-off-by: OGAWA Hirofumi
    Tested-by: Aneesh Kumar K.V
    [ Modified to do the tty_flush_to_ldisc() inside input_available_p() so
    that it triggers for both read and poll() - Linus]
    Signed-off-by: Linus Torvalds

    OGAWA Hirofumi
     

14 Oct, 2008

1 commit