All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Mark Haverkamp <markh@osdl.org>
Cc: Mark Salyzyn <mark_salyzyn@adaptec.com>,
	linux-scsi@vger.kernel.org, Eric Moore <Eric.Moore@lsil.com>,
	Leon Woestenberg <leonw@mailcan.com>
Subject: Re: how to use scsi_remove_device
Date: Sun, 19 Mar 2006 20:37:17 +0100	[thread overview]
Message-ID: <441DB2ED.703@s5r6.in-berlin.de> (raw)
In-Reply-To: <1142629908.15834.15.camel@markh3.pdx.osdl.net>

Mark Haverkamp wrote:
> On Fri, 2006-03-17 at 21:30 +0100, Stefan Richter wrote:
>>But aacraid and mptsas call scsi_add_device + scsi_remove_device + 
>>scsi_device_put. AFAICS this is either one scsi_device_put too many or 
>>one scsi_device_get too few.
...
> Looking at commsup.c, though, I think that the scsi_device_put is done
> after the scsi_device_lookup
...

Yes, the scsi_device_put is correct since scsi_device_lookup took a 
reference.
-- 
Stefan Richter
-=====-=-==- --== =--==
http://arcgraph.de/sr/

  reply	other threads:[~2006-03-19 19:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1142598225.25906.256865850@webmail.messagingengine.com>
     [not found] ` <441B1388.20704@s5r6.in-berlin.de>
2006-03-17 20:30   ` how to use scsi_remove_device Stefan Richter
2006-03-17 21:11     ` Mark Haverkamp
2006-03-19 19:37       ` Stefan Richter [this message]
2006-03-17 21:39     ` James Bottomley
2006-03-17 23:25     ` Leon Woestenberg

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=441DB2ED.703@s5r6.in-berlin.de \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=Eric.Moore@lsil.com \
    --cc=leonw@mailcan.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mark_salyzyn@adaptec.com \
    --cc=markh@osdl.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.