From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Dirk Eibach <eibach@gdsys.de>
Cc: linux-kernel@vger.kernel.org, jirislaby@gmail.com,
Dirk Eibach <eibach@gdsys.de>
Subject: Re: [PATCH] char: prevent opening unavailable ports in moxa.c
Date: Wed, 10 Jun 2009 16:58:22 +0100 [thread overview]
Message-ID: <20090610165822.5b947273@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <1244530656-32766-1-git-send-email-eibach@gdsys.de>
On Tue, 9 Jun 2009 08:57:36 +0200
Dirk Eibach <eibach@gdsys.de> wrote:
> In moxa.c there are 32 minor numbers reserved for each device. The
> number of ports actually available per device is stored in
> moxa_board_conf->numPorts. This number is not considered in moxa_open().
> Opening a port that is not available results in a kernel oops.
> This patch adds a test to moxa_open() that prevents opening unavailable
> ports.
>
> Signed-off-by: Dirk Eibach <eibach@gdsys.de>
Applied - thanks
Alan
prev parent reply other threads:[~2009-06-10 15:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-09 6:57 Dirk Eibach
2009-06-10 15:58 ` Alan Cox [this message]
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=20090610165822.5b947273@lxorguk.ukuu.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=eibach@gdsys.de \
--cc=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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®