Minor fix for driver/serial/core.c
PATCH 1/1 Minor fix for driver/serial/core.c
Hi Russell,
The following command will do nothing at all on 2.5.X :
setserial /dev/ttyS0 uart none
I sent you the bug fix for that a few months ago, but as
2.5.67 this trivial bug is still not fixed. The patch is below...
Have fun... Jean
---------------------------------------------------------
drivers/serial/core.c Thu Apr 10 14:24:01 2003 renamed from drivers/serial/core.d1.c Thu Apr 10 14:16:47 2003 +3 -0
@@ -784,6 +784,9 @@ uart_set_info(struct uart_state *state, */ if (port->type != PORT_UNKNOWN) retval = port->ops->request_port(port); + else + /* Always success - Jean II */ + retval = 0; /* * If we fail to request resources for the