Re: [PATCH 2/3] usb-serial: regression fix to move sysrq from hotpath

From: Alan Cox
Date: Thu Jun 18 2009 - 05:12:15 EST


> + if (port->console) {

unlikely(port->console) I think is justified

> + for (i = 0; i < urb->actual_length; i++, ch++) {
> + if (!usb_serial_handle_sysrq_char(port, *ch))
> + tty_insert_flip_char(tty, *ch, TTY_NORMAL);

But thats a minor twiddle so

Acked-by: Alan Cox <alan@xxxxxxxxxxxxxxx>

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/