From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: Manfred Spraul <manfred@colorfullife.com>,
linux-usb-devel@lists.sourceforge.net, greg@kroah.com,
linux-kernel@vger.kernel.org
Subject: Re: usb storage cleanup
Date: Thu, 4 Jul 2002 16:54:32 -0300 [thread overview]
Message-ID: <20020704195432.GD7534@conectiva.com.br> (raw)
In-Reply-To: <20020704125012.C17360@one-eyed-alien.net>
Em Thu, Jul 04, 2002 at 12:50:12PM -0700, Matthew Dharm escreveu:
> > > Because relying on a pointer has caused problems in the past, especially
> > > when there are concerns that the pointer might be invalid.
> > Could you explain a bit more? How could the pointer become invalid?
> There was a large discussion of this in relation to another driver on
> linux-usb-devel... basically, the pointer is just an address to a structure
> owned by an HCD... it's entirely possible for the structure to go away on
> us unexpectedly. We _should_ get the notification via the _disconnect()
> call, but real-world experience showed us that this wasn't always
> happening.
Humm, I believed that USB was using refcounting
- Arnaldo
next prev parent reply other threads:[~2002-07-04 19:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-03 21:14 usb storage cleanup Manfred Spraul
2002-07-03 21:43 ` Matthew Dharm
2002-07-03 22:19 ` Manfred Spraul
2002-07-04 0:05 ` Matthew Dharm
2002-07-04 17:12 ` Manfred Spraul
2002-07-04 19:50 ` Matthew Dharm
2002-07-04 19:54 ` Arnaldo Carvalho de Melo [this message]
2002-07-04 20:02 ` Greg KH
2002-07-04 20:23 ` [linux-usb-devel] " David Brownell
2002-07-04 21:16 ` Matthew Dharm
2002-07-04 22:05 ` David Brownell
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=20020704195432.GD7534@conectiva.com.br \
--to=acme@conectiva.com.br \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=manfred@colorfullife.com \
/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.