mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jean Tourrilhes <jt@bougret.hpl.hp.com>
To: Russell King <rmk@arm.linux.org.uk>,
	Linux kernel mailing list <linux-kernel@vger.kernel.org>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: [PATCH 2.5] Minor fix for driver/serial/core.c
Date: Thu, 10 Apr 2003 14:30:53 -0700	[thread overview]
Message-ID: <20030410213053.GA8537@bougret.hpl.hp.com> (raw)

	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

---------------------------------------------------------

--- linux/drivers/serial/core.d1.c      Thu Apr 10 14:16:47 2003
+++ linux/drivers/serial/core.c Thu Apr 10 14:24:01 2003
@@ -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

	

                 reply	other threads:[~2003-04-10 21:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030410213053.GA8537@bougret.hpl.hp.com \
    --to=jt@bougret.hpl.hp.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=jt@hpl.hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk@arm.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®