public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurentp@cse-semaphore.com>
To: rmk@arm.linux.org.uk
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>, linux-serial@vger.kernel.org
Subject: Re: [PATCH] Fix oops in the 8250 serial driver when accessing a removed device
Date: Tue, 22 Jul 2008 18:31:50 +0200	[thread overview]
Message-ID: <200807221831.54473.laurentp@cse-semaphore.com> (raw)
In-Reply-To: <20080722165408.38a75a57@lxorguk.ukuu.org.uk>

[-- Attachment #1: Type: text/plain, Size: 887 bytes --]

Hi Russell,

On Tuesday 22 July 2008, Alan Cox wrote:
> > When a plug-and-play 8250 device is detected, the driver reuses one of the
> > dummy ports. If that device is later removed, the port goes pack to the
> > dummy ports pool. The capabilities field is not reset, which causes a oops
> > when trying to access the port.
> 
> Some day we need to allocate new dummy ports so there is always one free.
> 
> > This patch resets the capabilities field when a 8250 device is
> > unregistered. 
> 
> Looks good to me. Would appreciate Russell's view though.

Could you please review the patch (available at http://marc.info/?l=linux-serial&m=121674107306179&w=2) ? I'd like it to go into 2.6.27 if possible.

Best regards,

-- 
Laurent Pinchart
CSE Semaphore Belgium

Chaussee de Bruxelles, 732A
B-1410 Waterloo
Belgium

T +32 (2) 387 42 59
F +32 (2) 387 42 75

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-07-22 16:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-22 15:37 [PATCH] Fix oops in the 8250 serial driver when accessing a removed device Laurent Pinchart
2008-07-22 15:54 ` Alan Cox
2008-07-22 16:31   ` Laurent Pinchart [this message]
2008-07-25  9:51     ` Russell King
2008-07-25 11:40       ` Laurent Pinchart
2008-07-25 11:57         ` Russell King

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=200807221831.54473.laurentp@cse-semaphore.com \
    --to=laurentp@cse-semaphore.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-serial@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